Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 60415 invoked from network); 21 Mar 2008 20:16:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2008 20:16:30 -0000 Received: (qmail 27987 invoked by uid 500); 21 Mar 2008 20:16:26 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 27954 invoked by uid 500); 21 Mar 2008 20:16:26 -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 27945 invoked by uid 99); 21 Mar 2008 20:16:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 13:16:26 -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 (nike.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; Fri, 21 Mar 2008 20:15:37 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jcnef-00044i-OA for dev@activemq.apache.org; Fri, 21 Mar 2008 13:15:57 -0700 Message-ID: <16207231.post@talk.nabble.com> Date: Fri, 21 Mar 2008 13:15:57 -0700 (PDT) From: Mike Kelley To: dev@activemq.apache.org Subject: Re: Optimising PrefetchSubscription.dispatchPending() ideas In-Reply-To: <47B3B0C4.4070004@nuix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mkmail-apache@rearden.com References: <47AC8D46.7060009@nuix.com> <47B13E2C.8060602@nuix.com> <47B28C8C.70707@nuix.com> <5a56ce1b0802131027x79dbdb8dx9fc9949028fe71f0@mail.gmail.com> <47B3B0C4.4070004@nuix.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi David, I'm new to ActiveMQ and unfamiliar with the code (albeit w/experience in JMS), so forgive me if this is a silly question: do the performance issues/fixes discussed affect non-durable subscriptions (w/non-persistent messages) as well? Mike David Sitsky-2 wrote: > > Rob and I did some performance enhancements with queues so that a > Queue.send() call was decoupled from the dispatch processing. In the > past, depending on the state of the consumers, a Queue.send() call could > take a significant amount of time. We changed it so that a single > thread was responsible for dispatching messages, which avoided a lot of > lock contention. It also meant a Queue.send() returned as quickly as > possible. > > I imagine a similar change could be done for Topics, since from what I > can tell, a Topic.send() call currently does its dispatch processing in > the same call. > > Cheers, > David > -- View this message in context: http://www.nabble.com/Optimising-PrefetchSubscription.dispatchPending%28%29-ideas-tp15359726s2354p16207231.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.