activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <>
Subject Re: Scaling ActiveMQ broker for higher load (Network of brokers)
Date Thu, 14 Aug 2014 02:44:36 GMT
Do you need perfect ordering of messages?

If not just use two activemq servers, each with the same queues.  Then have
your consumers load balance reading from each one… same thing for writing
from each one.

Taking servers offline just means taking them out for writes and then
having consumers drain all the messages.

You can also implement basic load weight if the servers are asymmetric in
compute capacity.

You lose perfect ordering of messages though.  The messages will be
processed out of order.

On Wed, Aug 13, 2014 at 1:41 AM, khandelwalanuj <
> wrote:

> Hi,
> I am currently using ActiveMQ 5.10 and running one message broker. In my
> setup clients are continuously increasing by which load on the message
> broker is getting higher.
> I want to scale my ActiveMQ broker setup to handle such kind of load. After
> reading some documentation, I think Network of broker is the best option to
> decrease load from one broker and spread it between network of brokers.
> Is there a way by which I can use one broker for some particular
> destinations and another for some other destinations (may be topics and
> queues are on different broker) ? Or Can I have one broker for persistent
> message and another for non-persistent messages ?
> How many brokers should I use and what are all configuration option for the
> network (like clients connection to the broker are separated by persistent
> or destination or connection etc)?
> Thanks,
> Anuj
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


Location: *San Francisco, CA*
… or check out my Google+ profile

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