ਉੱਚ ਉਪਲਬਧਤਾ RabbitMQ ਵਿੱਚ ਕਲਸਟਰਿੰਗ (ਮਲਟੀਪਲ ਨੋਡਜ) ਅਤੇ ਰਿਪਲੀਕੇਟਿਡ ਕਿউਜ਼ (ਮਿਰਰਡ ਜਾਂ ਕੋਰਮ ਕਿউਜ਼) ਦੁਆਰਾ ਕੰਮ ਕਰਦੀ ਹੈ ਤਾਂ ਜੋ ਸਿਸਟਮ ਨੋਡ ਫੇਲਿਓਰਜ ਨੂੰ ਸਰਵਾਈਵ ਕਰ ਸਕੇ ਬਿਨਾ ਸੁਨੇਸ਼ਨਜ ਦੇ ਖੋਏ। HA ਨੂੰ ਸਮਝਣਾ ਨਿਰਭਰ ਯੋਗ, ਪ੍ਰੋਡਕਸ਼ਨ RabbitMQ ਲਈ ਮਹੱਤਵਪੂਰਨ ਹੈ।
ਕਲਸਟਰਿੰਗ
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)
