1 - Could anyone elaborate on the differences between these two approaches?
2 - In details what happens to queues and messages if one node fails in each approach?
I see in the docs
Whilst RabbitMQ also supports clustering, clustering is intended to facilitate scalability, not availability. Thus in a cluster, if a node fails, queues which were on the failed node are lost. With the high availability setup described in this guide, when a node fails, the durable queues and the persistent messages within them can be recovered by a different node.
Does this apply to mirrored queues?
On 29 March 2016 at 10:57:15, Abu Mohd (ksa...@gmail.com) wrote:
> 1 - Could anyone elaborate on the differences between these two
> approaches?
Please read the docs. The difference is pretty obvious: Pacemaker is a “hot standby” approach.
> 2 - In details what happens to queues and messages if one node fails
> in each approach?
With mirrored queues, a new master for each of them is elected on a mirror that is in sync. In case of Pacemaker,
an entire new node is brought up.
http://www.rabbitmq.com/ha.html
http://www.rabbitmq.com/reliability.html