From users-return-23636-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu May 13 10:19:41 2010 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 62104 invoked from network); 13 May 2010 10:19:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 May 2010 10:19:41 -0000 Received: (qmail 17990 invoked by uid 500); 13 May 2010 10:19:41 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 17773 invoked by uid 500); 13 May 2010 10:19:39 -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 17765 invoked by uid 99); 13 May 2010 10:19:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 10:19:38 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 72.14.220.153 as permitted sender) Received: from [72.14.220.153] (HELO fg-out-1718.google.com) (72.14.220.153) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 10:19:34 +0000 Received: by fg-out-1718.google.com with SMTP id e21so584926fga.14 for ; Thu, 13 May 2010 03:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=fCH3NaT/Q2FPWWnO7RZygGUEatAg8Y0ctszInOAN+JE=; b=ZNFF72kneeFyGD549ZvtqKmtztBGjY2C/Z7Xub3pvrFbwgCuJJ7R7OcR4h/AxqlkcW UabfRKR6yUiBYdWRRY+8kG8wGfbHUDWI1s0ftJDum9PqrzsiCV0FP7nc1P5v9AnX0iRu w9GMlayaVomTOiHncro2G0ITrLNYMwhYFSquE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ADtV6WY5pEo5den5ftj/48DQKqgBS1dlwtKixl2FDzG6vgOKmhxXkEGPO6Tj3CXdch n5os+jaoQFdPMW9Esg01rfsE516BnTktWx7nKKiUcgYU+xFPDUf4ETQP2WulUbysCPX5 fF2D+JY1pUUpXwg2C7Tm9+I4ZzB09xtaGFnM0= MIME-Version: 1.0 Received: by 10.239.133.141 with SMTP id 13mr875875hbv.104.1273745953018; Thu, 13 May 2010 03:19:13 -0700 (PDT) Received: by 10.239.156.19 with HTTP; Thu, 13 May 2010 03:19:12 -0700 (PDT) In-Reply-To: <28539230.post@talk.nabble.com> References: <28539230.post@talk.nabble.com> Date: Thu, 13 May 2010 11:19:12 +0100 Message-ID: Subject: Re: Unable to load balance From: Gary Tully To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001485f773f61054fe04867717fa --001485f773f61054fe04867717fa Content-Type: text/plain; charset=ISO-8859-1 I ran up a simple test that demonstrates load balancing, possibly compare it to what you have or expect. see: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/TwoBrokerNetworkLoadBalanceTest.java?view=markup On 12 May 2010 19:02, BenD wrote: > > I have two servers with embedded brokers that are connected to each other. > Both server A and B have producers and consumers on a queue. The producer > on > A produces ~50msg/s where as the producer on B produces only a few msg a > min. When I look at the number of messages enqueued/dequeued on server A > its > in the 10s of thousands where as the number on server B is only in the > hundreds. I have turned decreaseNetworkConsumerPriority to false, I'm using > roundRobinDispatchPolicy and conduit subscriptions are off for queues. My > guess is that the messages produced on server A are staying there and not > being loadbalanced over to server B. > > Any ideas? > > My broker config can be found at http://pastebin.org/225889 > -- > View this message in context: > http://old.nabble.com/Unable-to-load-balance-tp28539230p28539230.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com --001485f773f61054fe04867717fa--