Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 38847 invoked from network); 27 Aug 2008 05:22:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2008 05:22:06 -0000 Received: (qmail 25771 invoked by uid 500); 27 Aug 2008 05:22:03 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 25741 invoked by uid 500); 27 Aug 2008 05:22:03 -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 25730 invoked by uid 99); 27 Aug 2008 05:22:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 22:22:03 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 05:21:05 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KYDTK-0005lO-Ar for users@activemq.apache.org; Tue, 26 Aug 2008 22:21:34 -0700 Message-ID: <19174823.post@talk.nabble.com> Date: Tue, 26 Aug 2008 22:21:34 -0700 (PDT) From: "Srini.Jill" To: users@activemq.apache.org Subject: Re: How and Where to set asyncSend attribute ? In-Reply-To: <3a73c17c0808260828w566e526etcff70782d26e22db@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: srini.jil@gmail.com References: <19160219.post@talk.nabble.com> <3a73c17c0808260828w566e526etcff70782d26e22db@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Gary , Thank You for the quick response. I have changed the property in src/main/resources/producer-conf/AMQ-Cons-5-1-queue.properties and could able to run the test . i could observe a increase in the through put of 100 with this option set . How can i set the option in a standalone server and a client program. Do i have to set on the connection factory that i create in the clinet program or Do i have to set on the transport connector in the activemq.xml of the server like Regards , Jill Gary Tully wrote: > > Hi Jill, > > check out the readme.html > (https://svn.apache.org/repos/asf/activemq/trunk/activemq-perftest/readme.html) > in the activemq-perftest directory. It describes how to configure the > broker, consumer and producer portions of the test harness. > > You would be looking at something like: > mvn activemq-perf:producer -Dfactory.useAsyncSend=true > > or modifying the value in the ConfigFile you choose, eg: > src/main/resources/producer-conf/AMQ-Cons-5-1-queue.properties > > Gary. > > 2008/8/26 Srini.Jill : >> >> Hi , >> >> I am doing the bench mark testing for the Active MQ5.1 . >> >> I am using a standalone ActiveMQ server and consumer and producer clients >> from the Performance plugin of the activeMQ. >> >> While surfing the documentation , i figured out that setting the >> useAsyncSend=true will boost the performance . >> >> http://activemq.apache.org/connection-configuration-uri.html >> >> I have a couple of questions regarding the same. >> >> 1) How to set this property ? >> >> 2) Where to set this property ? if it is at the server side , where >> exactly >> in the activemq.xml >> >> I have tried by setting in the transportConnectors elements of the >> activemq.xml. >> >> >> > uri="tcp://localhost:61616?jms.useAsyncSend=true" >> discoveryUri="multicast://default" /> >> >> >> and in the client side , >> >> mvn activemq-perf:consumer >> -Durl=broker:tcp://localhost:61616?jms.useAsyncSend=true >> -DsysTest.propsConfigFile=src/main/resources/consumer-conf/AMQ-Cons-5-1-queue.properties >> >> mvn activemq-perf:producer >> -Durl=broker:tcp://localhost:61616?jms.useAsyncSend=true >> -DsysTest.propsConfigFile=src/main/resources/producer-conf/AMQ-Cons-5-1-queue.properties >> >> I could able to generate the report but in the reports i could see >> useAsyncSen=false and the through put is also very low. >> >> Please let me know , how to test the performance with useAsyncSen=true on >> a >> standalone installation . >> >> Regards, >> Jill >> -- >> View this message in context: >> http://www.nabble.com/How-and-Where-to-set-asyncSend-attribute---tp19160219p19160219.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/How-and-Where-to-set-asyncSend-attribute---tp19160219p19174823.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.