In this blog, We will talk about a very important feature provided by RabbitMQ, High Availability suing data replication.
The content of the
queue is located at only one node by
default.
-Exchanges and bindings
are present on all nodes.
-Queue can be
mirrored to have one master and rest of the slave nodes.
-If the node that
hosts queue master fails, the node having most updated data will become master
node.
Options to control
mirroring:
- Ha- mode:
- exactly -> count
- Allànone
- Nodes
Mirroring to all
nodes puts additional load on the cluster
nodes. This will result into higher network I/O , disk I/O and disk space
usage:
Recommended
replication factor: 2 in a 3 nodes
cluster and 3 in 5 node cluster.
Dashboard for Queue
will show the master ,mirrors and the
policy details.
No comments:
Post a Comment