You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "ヤ艾枫o.--" <11...@qq.com> on 2021/06/01 06:51:40 UTC

How to build a cluster with both load balancing and high availability by using ActiveMQ 5. X

hello:
&nbsp; &nbsp;How to build a cluster with both load balancing and high availability by using ActiveMQ 5. X? Is there a case?


&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; thanks

Re: How to build a cluster with both load balancing and high availability by using ActiveMQ 5. X

Posted by Tim Bain <tb...@alumni.duke.edu>.
JB is correct about how to do this in 5.x. However, ActiveMQ Artemis's
clustering ability is significantly better than a network of brokers
(because a NoB requires messages to be forwarded between the brokers of the
"cluster," resulting in higher load on the brokers and edge cases when
consumers hop around between brokers in the network), and I'd encourage you
to at least consider whether you'd be better off migrating to Artemis
instead of implementing this in 5.x.

Tim

On Tue, Jun 1, 2021, 2:41 AM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:

> Hi,
>
> You can mix Network of Brokers with master/slave for each broker.
>
> Network of Brokers (NoB) provides load balancing, master/slave provides
> high availability.
>
> Regards
> JB
>
> > Le 1 juin 2021 à 08:51, ヤ艾枫o.-- <11...@qq.com> a écrit :
> >
> > hello:
> > &nbsp; &nbsp;How to build a cluster with both load balancing and high
> availability by using ActiveMQ 5. X? Is there a case?
> >
> >
> > &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; thanks
>
>

Re: How to build a cluster with both load balancing and high availability by using ActiveMQ 5. X

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi,

You can mix Network of Brokers with master/slave for each broker. 

Network of Brokers (NoB) provides load balancing, master/slave provides high availability.

Regards
JB

> Le 1 juin 2021 à 08:51, ヤ艾枫o.-- <11...@qq.com> a écrit :
> 
> hello:
> &nbsp; &nbsp;How to build a cluster with both load balancing and high availability by using ActiveMQ 5. X? Is there a case?
> 
> 
> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; thanks