activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Unable to load balance
Date Thu, 13 May 2010 10:19:12 GMT
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 <ben@locamoda.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message