Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 20456 invoked from network); 22 Sep 2009 12:00:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Sep 2009 12:00:08 -0000 Received: (qmail 26322 invoked by uid 500); 22 Sep 2009 12:00:08 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 26283 invoked by uid 500); 22 Sep 2009 12:00:07 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 26267 invoked by uid 99); 22 Sep 2009 12:00:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 12:00:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rajdavies@gmail.com designates 209.85.210.185 as permitted sender) Received: from [209.85.210.185] (HELO mail-yx0-f185.google.com) (209.85.210.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 11:59:55 +0000 Received: by yxe15 with SMTP id 15so1127245yxe.22 for ; Tue, 22 Sep 2009 04:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=uGG0YmpTbIhKjz6Hzifyo/wLGc/ApGUB1+frPXMHJkg=; b=PXEZRVC86OLeMGDPUcBUbSsEkSiaTc50myCRhPnY/74IbE6QGvWYHYF6mLiF/r/pVF 7o76B3PG1OfS1xRaZFLQ90uPrX51o+rU1Ka7LriUTNNz6z1VIhYKgeyw6NQpCeRV23en RUeB9ocemH2R+u1dBfgXzMeQL/W9s7h8srQg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=c63ucbSncpTaZBENU4r+56fhmkLXS8kHQySctJrNoE6K6ThbodZ8Dti8FfKJ1GbClx W5f1hQb0UKYg61KrD0LxUa/VAXLtcbstbI5wS2Lb+IvPrM2bOsFlHSXrkJnj+ZyXYsi0 VVdVBCXPjpXQo02VS41SiO3V7IQ8G16g7icjE= Received: by 10.101.57.14 with SMTP id j14mr860656ank.105.1253620772528; Tue, 22 Sep 2009 04:59:32 -0700 (PDT) Received: from ?192.168.1.66? (host86-171-61-133.range86-171.btcentralplus.com [86.171.61.133]) by mx.google.com with ESMTPS id 17sm910783agd.26.2009.09.22.04.59.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Sep 2009 04:59:30 -0700 (PDT) Message-Id: <9846274B-CB82-40A7-82A2-74D834B58B09@gmail.com> From: Rob Davies To: dev@activemq.apache.org In-Reply-To: <014601ca3b0b$01e7fbe0$49cc10ac@bedford.progress.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [VOTE] AciveMQ Protocol Buffers 1.0 and Apache ActiveMQ 5.3.0 releases Date: Tue, 22 Sep 2009 12:59:25 +0100 References: <36e91d9d0909180307x7852daeem3f0126ab13e021b1@mail.gmail.com> <7b3355cb0909180952m16d86918u5e83e975f3eec205@mail.gmail.com> <36e91d9d0909181113i788a487ej176bb92a377f5f95@mail.gmail.com> <011501ca3899$0ee857a0$49cc10ac@bedford.progress.com> <012c01ca3af6$4fc18990$49cc10ac@bedford.progress.com> <014601ca3b0b$01e7fbe0$49cc10ac@bedford.progress.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Thats the problem - persistent Queue with no subscribers shouldn't =20 block until store limit is reached - this is why flow control has been =20= disabled by default now On 21 Sep 2009, at 23:29, Colin MacNaughton wrote: > Hi Rob, > > I didn't run such a test, but I'd expect that the queue would pretty =20= > quickly > fill up and block the senders using the config snippet below since =20 > it limits > the queue size to 1Mb. > > Colin > > -----Original Message----- > From: Rob Davies [mailto:rajdavies@gmail.com] > Sent: Monday, September 21, 2009 3:25 PM > To: dev@activemq.apache.org > Subject: Re: [VOTE] AciveMQ Protocol Buffers 1.0 and Apache ActiveMQ =20= > 5.3.0 > releases > > Hey Colin - what results do you see with flow control on and no > consumers for persistent queues ? > > On 21 Sep 2009, at 21:01, Colin MacNaughton wrote: > >> So ran into 2 issues running performance tests: >> >> 1. I ended up tweaking the default config to limit destination sizes >> and >> enable flow control as follows: >> >> >> >> >> " producerFlowControl=3D"true" >> memoryLimit=3D"1mb"> >> >> >> >> >> >> " producerFlowControl=3D"true" >> memoryLimit=3D"1mb"/> >> >> >> >> >> The current default config was resulting in really high latencies in >> non >> persistent pub sub tests (> 2 minutes!). With the new settings >> throughput >> doubled and average latency dropped to 3 seconds. >> >> However, it seems like there is some resistance to enabling flow >> control by >> default: http://issues.apache.org/activemq/browse/AMQ-2318, as na=EFve >> users >> might erroneously interpret this as a hang. >> >> So there is a tradeoff here against guarding again na=EFve users and >> good out >> of box performance benchmarking. >> >> A possible compromise appropriate for the 5.3.0 release time frame >> would be >> to log a warning the first time flow control is triggered for a >> destination, >> to assist naive users in troubleshooting producer pauses. >> >> More long term, it might be worth introucing a more sophisticated >> mechanism >> for when we page to disk like only do so when there are no consumers >> connected. A policy similar to this is already being pursued in the >> amq 6.0 >> prototype. >> >> I logged this as http://issues.apache.org/activemq/browse/AMQ-2400 >> >> 2. Fan-in to dups_ok queue receivers: >> While running performance tests I I was seeing hangs in several tests >> involving dups ok queue receivers. My suspicion is that this is >> related to >> "too lazy" dups_ok acknowledgements. Changing the queue >> prefetchLimit to 100 >> caused this problem to go away. This needs more investigation, but >> it seems >> like we can get ourselves in to trouble if the queue size is smaller >> than >> the receiver's prefetchLimit, and this should be avoid. It is also >> possible >> that there is something more complicated happening in my tests. I >> haven't >> yet been able to reproduce this outside my performance test >> environment. >> >> Logged as http://issues.apache.org/activemq/browse/AMQ-2401 >> >> -----Original Message----- >> From: Colin MacNaughton [mailto:colin.macnaughton@gmail.com] >> Sent: Friday, September 18, 2009 12:49 PM >> To: dev@activemq.apache.org >> Subject: RE: [VOTE] AciveMQ Protocol Buffers 1.0 and Apache ActiveMQ >> 5.3.0 >> releases >> >> Hey Dejan, >> >> FYI, I'm running the RC though the Progress internal performance >> test suite >> over the weekend. Will advise of the results, but it should be >> interesting >> to see how the new default config performs, and we can see if we >> need to >> tweak it. >> >> Colin >> >> -----Original Message----- >> From: chubrilo@gmail.com [mailto:chubrilo@gmail.com] On Behalf Of >> Dejan >> Bosanac >> Sent: Friday, September 18, 2009 11:14 AM >> To: dev@activemq.apache.org >> Subject: Re: [VOTE] AciveMQ Protocol Buffers 1.0 and Apache ActiveMQ >> 5.3.0 >> releases >> >> Ok, I'll modify tomorrow how we create source release and include >> protobuf >> code in it. I guess I'll need to tweak assembly-plugin and >> apache-source-release-assembly-descriptor, but have to research it >> more on >> how to do it. If anybody has any experience with this and would >> provide any >> pointers it would be very helpful. >> >> Cheers >> -- >> Dejan Bosanac >> >> Open Source Integration - http://fusesource.com/ >> ActiveMQ in Action - http://www.manning.com/snyder/ >> Blog - http://www.nighttale.net >> >> >> On Fri, Sep 18, 2009 at 7:02 PM, Hiram Chirino >> wrote: >> >>> Yeah that that does not have the source tar ball for the protobuf >>> release. >>> >>> On Fri, Sep 18, 2009 at 12:52 PM, Bruce Snyder >>> >>> wrote: >>> >>>> On Fri, Sep 18, 2009 at 7:10 AM, Hiram Chirino >>> wrote: >>>>> Could you also post links to the source tarballs? Thanks! >>>> >>>> He already did: >>>> >>>> >>>> >>> >> > = https://repository.apache.org/content/repositories/activemq-staging-030/or= g/ >> apache/activemq/activemq-parent/5.3.0/ >>>> >>>> Bruce >>>> -- >>>> perl -e 'print >>>> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=3D6-E+G-N>61E>>> \"YC;VT*" >>>> );' >>>> >>>> ActiveMQ in Action: http://bit.ly/2je6cQ >>>> Blog: http://bruceblog.org/ >>>> Twitter: http://twitter.com/brucesnyder >>>> >>> >>> >>> >>> -- >>> Regards, >>> Hiram >>> >>> Blog: http://hiramchirino.com >>> >>> Open Source SOA >>> http://fusesource.com/ >>> >> >> > > Rob Davies > http://twitter.com/rajdavies > I work here: http://fusesource.com > My Blog: http://rajdavies.blogspot.com/ > I'm writing this: http://www.manning.com/snyder/ > > > > > > Rob Davies http://twitter.com/rajdavies I work here: http://fusesource.com My Blog: http://rajdavies.blogspot.com/ I'm writing this: http://www.manning.com/snyder/