Integration / RabbitMQ Interview Questions
What is the difference between mirrored queues and quorum queues?
Both aim to keep a queue available if a node fails, but they use different replication designs with very different guarantees.
| Mirrored Queues (classic HA) | Quorum Queues |
| Uses a policy-driven master/mirror model. | Uses a Raft-based leader/follower model, configured per queue. |
| Mirrors can fall behind; failover can drop unsynchronized messages in edge cases. | Requires a write to be committed on a majority of replicas before it is acknowledged, avoiding that class of loss. |
| Deprecated - being phased out in favor of quorum queues. | The actively maintained, recommended replication mechanism. |
| Works with any classic queue. | Is its own queue type, declared with x-queue-type: quorum. |
For any new deployment planning replication for durability, quorum queues are the current recommendation; mirrored queues are mainly relevant when reading about or migrating away from older RabbitMQ setups.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
