[rabbitmq-discuss] Active/active HA setup

Alexis Richardson alexis at rabbitmq.com
Thu Sep 2 17:02:54 BST 2010


Thank-you for bringing this up.

I have two (initial) questions:

1. How will out-of-order behaviour be observed in your use case?

2. Do you plan to use shared queues, or will each queue have just one
consumer client so that all pubsub happens using the exchange?

Best wishes


On Thu, Sep 2, 2010 at 4:09 PM, <jiri at krutil.com> wrote:

> Hello together
> We are considering an active-active high availability broker setup and I
> wanted to check if there is someone here who could help with
> experience/advice.
> We plan to run two RabbitMQ brokers with the same setup (same queues,
> exchanges, bindings), which are independent and not aware of each other.
> These would be behind a load balancer, so this should be transparent to
> client applications.
> We use AMQP for two things:
> - pub/sub broadcasts from back-end to clients (all clients bind to the same
> topic exchange)
> - P2P request-response, where back-end responds to client requests (all
> clients send to the same request queue)
> We have only one back-end server that serves the clients. Of course the
> back-end would have to publish broadcasts to and consume requests from both
> brokers.
> When one broker dies, the clients will re-connect via load balancer to the
> other broker and continue. Of course any messages on the dead broker will be
> lost. We don't use persistent messages and can live with messages being
> lost.
> So far I have only identified one problem - the order of message delivery
> across brokers. Since the design of our client-server interface relies on
> the guaranteed order of message delivery, we would probably have to force
> clients to put request sequence numbers to message headers, remember the
> last seen request number on the back-end for each client, and throw away any
> requests out of order.
> Any ideas or hints will be much appreciated.
> Cheers
> Jiri
> Deutsche Boerse Systems AG
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100902/48086790/attachment.htm>

More information about the rabbitmq-discuss mailing list