You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by BenD <be...@locamoda.com> on 2010/05/12 20:02:21 UTC
Unable to load balance
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.
Re: Unable to load balance
Posted by Gary Tully <ga...@gmail.com>.
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 <be...@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