Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD23071F6 for ; Wed, 9 Nov 2011 11:54:07 +0000 (UTC) Received: (qmail 37832 invoked by uid 500); 9 Nov 2011 11:54:07 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 37806 invoked by uid 500); 9 Nov 2011 11:54:07 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 37797 invoked by uid 99); 9 Nov 2011 11:54:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 11:54:07 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chubrilo@gmail.com designates 209.85.161.43 as permitted sender) Received: from [209.85.161.43] (HELO mail-fx0-f43.google.com) (209.85.161.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 11:54:03 +0000 Received: by fabs1 with SMTP id s1so527874fab.2 for ; Wed, 09 Nov 2011 03:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=xkCh7IpRoHFtiuQZF5PjTXd2Wu96JMBI07VgbggtFHM=; b=vGmbvRKBW49wxd0CIJ7xzbEqjD0DO9TXSnTawW2010jGcacmsr/C6hs6s433bY2lem GQ43KPugFYZvbbaHWr6o9ERkvZph7Sn+xO+fU1BAQzniLZmwa62G8YZRXBzB+JRXEKDN ZLofxSUmxKJJBtRDjlBtqMYLJ0zO5JwGTcn5A= MIME-Version: 1.0 Received: by 10.223.7.14 with SMTP id b14mr4551120fab.10.1320839621518; Wed, 09 Nov 2011 03:53:41 -0800 (PST) Sender: chubrilo@gmail.com Received: by 10.223.96.142 with HTTP; Wed, 9 Nov 2011 03:53:41 -0800 (PST) In-Reply-To: <3BD697E0-4FF2-4127-AB8B-3022E15E8A6E@planet57.com> References: <7CBAC69E-63EE-4DAA-B362-074AB9103097@planet57.com> <73EE95A4-E406-42C7-B7F0-0F7AF14CA4A3@planet57.com> <439C31B3-231C-4912-ACC7-C898BD7A6ADE@planet57.com> <3BD697E0-4FF2-4127-AB8B-3022E15E8A6E@planet57.com> Date: Wed, 9 Nov 2011 12:53:41 +0100 X-Google-Sender-Auth: 0TuQJWVRm9_0VcZnjO2N7Y26L14 Message-ID: Subject: Re: HTTP transport From: Dejan Bosanac To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=00151747378272266b04b14bf0b9 --00151747378272266b04b14bf0b9 Content-Type: text/plain; charset=ISO-8859-1 Hi, http transport is in an optional package for the exact reason of not "polluting" activemq-core with a lot of dependencies, as it requires quite some of them, like jetty (on the server side), http-client (on the client side), xstream (and xml libs xstream needs) on both sides. Although there's room for cleaning deprecated stuff from activemq-optional module a bit. All patches and contributions are more then welcomed :) Test units for throughput are messages/sec Regards -- Dejan Bosanac - http://twitter.com/dejanb ----------------- The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Nov 9, 2011 at 1:27 AM, Jason Dillon wrote: > BTW... can anyone explain what the units of these value are? Is "System > Average Throughput" per-??? > > --jason > > > On Nov 8, 2011, at 1:39 PM, Jason Dillon wrote: > > > FYI, some performance numbers I collected if any one is interested. > > > > * * * > > > > Used default configuration of > http://activemq.apache.org/activemq-performance-module-users-manual.html(slightly massaged pom to get it to build, yay maven) > > > > Run on quad-core i7 2.93 mac 10.7.2 > > > > Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) > > java version "1.6.0_26" > > Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511) > > Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode) > > > > Ending memory use all roughly: 6M/81M > > > > HTTP Transport - Consumer > > ========================= > > > > System Total Throughput: 127673 > > System Total Clients: 1 > > System Average Throughput: 531.9708333333333 > > System Average Throughput Excluding Min/Max: 527.7083333333334 > > System Average Client Throughput: 531.9708333333333 > > System Average Client Throughput Excluding Min/Max: 527.7083333333334 > > Min Client Throughput Per Sample: clientName=JmsConsumer0, value=484 > > Max Client Throughput Per Sample: clientName=JmsConsumer0, value=539 > > Min Client Total Throughput: clientName=JmsConsumer0, value=127673 > > Max Client Total Throughput: clientName=JmsConsumer0, value=127673 > > Min Average Client Throughput: clientName=JmsConsumer0, > value=531.9708333333333 > > Max Average Client Throughput: clientName=JmsConsumer0, > value=531.9708333333333 > > Min Average Client Throughput Excluding Min/Max: > clientName=JmsConsumer0, value=527.7083333333334 > > Max Average Client Throughput Excluding Min/Max: > clientName=JmsConsumer0, value=527.7083333333334 > > > > HTTP Transport - Producer > > ========================= > > > > System Total Throughput: 129874 > > System Total Clients: 1 > > System Average Throughput: 541.1416666666667 > > System Average Throughput Excluding Min/Max: 536.8041666666667 > > System Average Client Throughput: 541.1416666666667 > > System Average Client Throughput Excluding Min/Max: 536.8041666666667 > > Min Client Throughput Per Sample: clientName=JmsProducer0, value=488 > > Max Client Throughput Per Sample: clientName=JmsProducer0, value=553 > > Min Client Total Throughput: clientName=JmsProducer0, value=129874 > > Max Client Total Throughput: clientName=JmsProducer0, value=129874 > > Min Average Client Throughput: clientName=JmsProducer0, > value=541.1416666666667 > > Max Average Client Throughput: clientName=JmsProducer0, > value=541.1416666666667 > > Min Average Client Throughput Excluding Min/Max: > clientName=JmsProducer0, value=536.8041666666667 > > Max Average Client Throughput Excluding Min/Max: > clientName=JmsProducer0, value=536.8041666666667 > > > > TCP Transport - Consumer > > ======================== > > > > System Total Throughput: 7697735 > > System Total Clients: 1 > > System Average Throughput: 32073.895833333332 > > System Average Throughput Excluding Min/Max: 31803.916666666668 > > System Average Client Throughput: 32073.895833333332 > > System Average Client Throughput Excluding Min/Max: 31803.916666666668 > > Min Client Throughput Per Sample: clientName=JmsConsumer0, value=30656 > > Max Client Throughput Per Sample: clientName=JmsConsumer0, value=34139 > > Min Client Total Throughput: clientName=JmsConsumer0, value=7697735 > > Max Client Total Throughput: clientName=JmsConsumer0, value=7697735 > > Min Average Client Throughput: clientName=JmsConsumer0, > value=32073.895833333332 > > Max Average Client Throughput: clientName=JmsConsumer0, > value=32073.895833333332 > > Min Average Client Throughput Excluding Min/Max: > clientName=JmsConsumer0, value=31803.916666666668 > > Max Average Client Throughput Excluding Min/Max: > clientName=JmsConsumer0, value=31803.916666666668 > > > > TCP Transport - Producer > > ======================== > > > > System Total Throughput: 7694119 > > System Total Clients: 1 > > System Average Throughput: 32058.829166666666 > > System Average Throughput Excluding Min/Max: 31799.15 > > System Average Client Throughput: 32058.829166666666 > > System Average Client Throughput Excluding Min/Max: 31799.15 > > Min Client Throughput Per Sample: clientName=JmsProducer0, value=28449 > > Max Client Throughput Per Sample: clientName=JmsProducer0, value=33874 > > Min Client Total Throughput: clientName=JmsProducer0, value=7694119 > > Max Client Total Throughput: clientName=JmsProducer0, value=7694119 > > Min Average Client Throughput: clientName=JmsProducer0, > value=32058.829166666666 > > Max Average Client Throughput: clientName=JmsProducer0, > value=32058.829166666666 > > Min Average Client Throughput Excluding Min/Max: > clientName=JmsProducer0, value=31799.15 > > Max Average Client Throughput Excluding Min/Max: > clientName=JmsProducer0, value=31799.15 > > > > TCP was consuming a good portion of the CPU constantly: > > > > 4013 - Broker 251% 50th > > 4060 - Consumer 126% 26th > > 4069 - Producer 63% 35th > > > > HTTP consumed considerably less: > > > > 4084 - Broker 56% 50th > > 4093 - Consumer 37% 37th > > 4102 - Producer 24% 34th > > > > This perf harness does not have a built in option for binary messages > (that I could find, looks like its hard coded to TextMessage) so I'd > imagine that a BytesMessage w/BASE64 encoding for http transport would > degrade performance even more. > > > > --jason > > > > > > --00151747378272266b04b14bf0b9--