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 9064A62F3 for ; Wed, 13 Jul 2011 19:21:57 +0000 (UTC) Received: (qmail 8891 invoked by uid 500); 13 Jul 2011 19:21:57 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 8807 invoked by uid 500); 13 Jul 2011 19:21:56 -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 8799 invoked by uid 99); 13 Jul 2011 19:21:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 19:21:56 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=DATE_IN_PAST_24_48,MIME_QP_LONG_LINE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [62.75.158.78] (HELO mail.liquid-reality.de) (62.75.158.78) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 19:21:48 +0000 Received: from [10.0.0.103] (HSI-KBW-46-223-138-180.hsi.kabel-badenwuerttemberg.de [46.223.138.180]) by mail.liquid-reality.de (Postfix) with ESMTP id E98511EE56EC for ; Wed, 13 Jul 2011 19:21:26 +0000 (UTC) Subject: Re: Slow and fast messages References: <1310406621311-3660295.post@n4.nabble.com> <1310424910948-3661071.post@n4.nabble.com> From: Christian Schneider Content-Type: text/plain; charset=us-ascii In-Reply-To: <1310424910948-3661071.post@n4.nabble.com> Message-Id: <8B2891D0-BF7F-4EA9-BB54-DB7AF817A5A5@die-schneider.net> Date: Tue, 12 Jul 2011 07:47:36 +0200 To: "users@activemq.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPhone Mail 8H7) X-Mailer: iPhone Mail (8H7) X-Virus-Checked: Checked by ClamAV on apache.org I recently did perf measurements using activemq. You can find the results an= d configs here http://www.liquid-reality.de/pages/viewpage.action?pageId=3D5865562 For simple one way pure jms i got about 5500 messages/s Christian Von meinem iPhone gesendet Am 12.07.2011 um 00:55 schrieb MaryAuaun : > Boy, this forum is great for making me get my thoughts together and answer= ing > my own questions, but if anyone knows any more, please chime in! >=20 > For writing 1000 messages >=20 > Originally 1000 messages took 40 seconds. >=20 > Persistent vs. Non-Persistent didn't make much difference in speed >=20 > These settings made a little differenceoptions: > connectionFactory.setUseAsyncSend(true); // tbw to test > speed > connectionFactory.setAlwaysSyncSend(false); > connectionFactory.setSendAcksAsync(true); > connectionFactory.setProducerWindowSize(100); > (some of these settings are poorly document or not documented at all!= ) > Now 1000 messages takes 27 seconds!=20 >=20 > I removed the "transacted" and commits, that made it much faster > 1000 messages take about 6 seconds, even with Persistent on. >=20 > That's nos 166 messages / sec, which is not bad. If there are other > improvements I can make, please let me know! >=20 >=20 > -- > View this message in context: http://activemq.2283324.n4.nabble.com/Slow-a= nd-fast-messages-tp3660295p3661071.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >=20