Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 72106 invoked from network); 9 Jun 2009 23:49:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jun 2009 23:49:16 -0000 Received: (qmail 91530 invoked by uid 500); 9 Jun 2009 23:49:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 91460 invoked by uid 500); 9 Jun 2009 23:49:28 -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 91450 invoked by uid 99); 9 Jun 2009 23:49:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 23:49:28 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS 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; Tue, 09 Jun 2009 23:49:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MEB3o-0001yh-Is for users@activemq.apache.org; Tue, 09 Jun 2009 16:48:56 -0700 Message-ID: <23953256.post@talk.nabble.com> Date: Tue, 9 Jun 2009 16:48:56 -0700 (PDT) From: yinghe0101 To: users@activemq.apache.org Subject: PrefetchSize for networkConnector MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: yinghe0101@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org hi, I have an issue which greatly reduces the quality of service of a network of activemq brokers. Here is what I have: 1. 4 brokers( broker1, broker2, broker3, broker4) in a network by multicast discovery 2. i have 2 consumers of QueueA on broker1, 2 consumers of QueueA on broker2, and consumer queuePrefetch=1, networkConnector prefetchSize=1. Queue is using RoundRobinDispatchPolicy 3. I publish to QueueA on broker3 with 100 msgs, 2 consumers on broker1 are fast and they process fine but 2 consumers on broker2 are stuck. However, with this config, msgs are still 50 goes to broker1, 50 goes to broker2, and when consumers on broker2 get stuck, those 50 msgs are stuck on broker2. It seems the prefetchSize=1 on networkConnector have no effect at all. what I expect in this case will be that 98 msgs shall go to broker1, and only 2 msgs stuck on broker2's consumers. I cannot lose a single msg so ConstantPendingMessageLimit will not help. Can anyone help? This is quite urgent. I will appreciate any suggestion. best, Ying -- View this message in context: http://www.nabble.com/PrefetchSize-for-networkConnector-tp23953256p23953256.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.