Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B26A6200CC6 for ; Tue, 18 Jul 2017 20:40:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B0BCD166BD1; Tue, 18 Jul 2017 18:40:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CF440166BCB for ; Tue, 18 Jul 2017 20:40:21 +0200 (CEST) Received: (qmail 4532 invoked by uid 500); 18 Jul 2017 18:40:18 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 4521 invoked by uid 99); 18 Jul 2017 18:40:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2017 18:40:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id EF08FC21FF for ; Tue, 18 Jul 2017 18:40:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.778 X-Spam-Level: X-Spam-Status: No, score=0.778 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Twa_iwuhGTEM for ; Tue, 18 Jul 2017 18:40:08 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 646F85F3F2 for ; Tue, 18 Jul 2017 18:40:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9CB11C058EAF for ; Tue, 18 Jul 2017 18:40:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 9CB11C058EAF Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=crolke@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 9CB11C058EAF Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 91CA67A241 for ; Tue, 18 Jul 2017 18:40:07 +0000 (UTC) Received: from zmail21.collab.prod.int.phx2.redhat.com (zmail21.collab.prod.int.phx2.redhat.com [10.5.83.24]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 848CF3FADE for ; Tue, 18 Jul 2017 18:40:07 +0000 (UTC) Date: Tue, 18 Jul 2017 14:40:07 -0400 (EDT) From: Chuck Rolke To: users@qpid.apache.org Message-ID: <1445626113.31975775.1500403207191.JavaMail.zimbra@redhat.com> In-Reply-To: <1500391300742.67845@bosch-si.com> References: <7f88b1d4-a851-9c9e-8ede-c1a8ebf148c3@redhat.com> <1500276218589.41693@bosch-si.com> <1500375225724.62080@bosch-si.com> <2f938d8c-f18f-70a2-5738-872848dc7d3e@redhat.com> <1500391300742.67845@bosch-si.com> Subject: Re: Dispatch Router throughput MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.10.123.134, 10.4.195.10] Thread-Topic: Dispatch Router throughput Thread-Index: AQHS++Mi1veeXuuyyku+Y1pcnNvi34dU5UK1mv4Si+L//+FxAIAAKVL6gAAY34CAACXNov//4ymAgAAIkACABHWbi4AAlb0AgAE3HEr///O1AAAK5qSQ0FlZbLk= X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 18 Jul 2017 18:40:07 +0000 (UTC) archived-at: Tue, 18 Jul 2017 18:40:22 -0000 In the hono vhost policy section try adding: "allowUserIdProxy": true If the user id proxy setting is false then the router must parse every message through to the user-id field of the message properties. Then verify that the user has no name in the message user-id or the=20 same name that was used when the connection was created.=20 Allowing the user id proxy bypasses the per-message parsing and checking. The down side of setting the user id proxy to true is it allows the user to launch messages into the system with any user-id. Per-message checks are avoided altogether when the messages arrive over a 'link routed' path. That should give you even better numbers. -Chuck ----- Original Message ----- > From: "Hudalla Kai (INST/ECS4)" > To: users@qpid.apache.org > Sent: Tuesday, July 18, 2017 11:21:40 AM > Subject: Re: Dispatch Router throughput >=20 > Hi, >=20 > I think we have narrowed it down. >=20 > Running the quiver test as suggested by Gordon (thanks for that :-)) and > using the Dispatch Router config below, we get around 30000 msg/sec if we > set "enableVhostPolicy" to false and around 2500 msgs/sec when we set it = to > "true". >=20 > [ > ["router", { > "id": "Hono.Example.Router", > "mode": "standalone", > "workerThreads": 4 > }], >=20 > ["listener", { > "host": "0.0.0.0", > "port": 5672, > "authenticatePeer": false, > "linkCapacity": 1000 > }], >=20 > ["policy", { > "enableVhostPolicy": false, > "defaultVhost": "hono" > }], >=20 > ["vhost", { > "id": "hono", > "allowUnknownUser": true, > "groups": { > "$default": { > "remoteHosts": "*", > "sources": "*", > "targets": "*" > } > } > }], >=20 > ["log", { > "module": "DEFAULT", > "enable": "info+" > }] > ] >=20 > We are running the test against the enmasseproject/qdrouterd-base:0.8.0-1 > Docker image. > Is this the expected behavior? >=20 > Mit freundlichen Gr=C3=BC=C3=9Fen / Best regards >=20 > Kai Hudalla > Chief Software Architect >=20 > Bosch Software Innovations GmbH > Sch=C3=B6neberger Ufer 89-91 > 10785 Berlin > GERMANY > www.bosch-si.com >=20 > Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HR= B > 148411 B; > Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn >=20 > ________________________________________ > From: Gordon Sim > Sent: Tuesday, July 18, 2017 14:05 > To: users@qpid.apache.org > Subject: Re: Dispatch Router throughput >=20 > On 18/07/17 11:53, Hudalla Kai (INST/ECS4) wrote: > > We are running Dispatch Router by means of the > > enmasseproject/qdrouterd-base:0.8.0-1 Docker image. Do you have any > > concerns regarding a negative impact this might have on throughput? >=20 > Using that image (default config) with qpid-send/qpid-receive from > qpid::messaging, I see >90k msgs/sec, so I don't think it is the image. >=20 > Using the vertx-proton option for Justin Ross's quiver benchmark[1] > against that same image I get ~39k msgs/sec. >=20 > [1] https://github.com/ssorj/quiver/ >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org > For additional commands, e-mail: users-help@qpid.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org