high availability ใน RabbitMQ เกี่ยวข้องกับ clustering (หลาย node) และ replicated queue (mirrored หรือ quorum queue) เพื่อให้ระบบอยู่รอดได้เมื่อ node ล้มเหลวโดยไม่สูญเสียข้อความ การเข้าใจ HA มีความสำคัญต่อ RabbitMQ ที่เชื่อถือได้ในระดับ production
clustering
RabbitMQ CLUSTER → multiple RabbitMQ nodes working together as one logical broker:
→ nodes share metadata (queues, exchanges, bindings, users)
→ distributes connections and load across nodes
⚠️ by default, a queue lives on ONE node → if that node fails, the queue is unavailable
(clustering alone doesn't make queues highly available → need replication)
