ক্লাস্টারিং একাধিক RabbitMQ নোডকে একটি একক লজিক্যাল ব্রোকারে সংযুক্ত করে — স্কেলেবিলিটি এবং (প্রতিলিপি করা কিউ সহ) উচ্চ প্রাপ্যতার জন্য। ক্লাস্টারিং এবং এর সূক্ষ্মতা বোঝা RabbitMQ নির্ভরযোগ্যভাবে স্কেল এবং পরিচালনার জন্য গুরুত্বপূর্ণ।
ক্লাস্টার কী
A RabbitMQ CLUSTER = multiple nodes acting as ONE logical broker:
→ nodes share METADATA (queue/exchange definitions, bindings, users, vhosts) across the cluster
→ clients can connect to any node; load is distributed across nodes
→ scales connection/channel capacity and distributes load
ক্লাস্টারে কিউ (একটি গুরুত্বপূর্ণ সূক্ষ্মতা)
⚠️ By default, a queue's DATA lives on ONE node (the node where it was declared):
→ other nodes know about the queue (metadata) but route to the owning node
→ if that node FAILS → the queue (and its messages) is UNAVAILABLE
→ so CLUSTERING ALONE does NOT make queues highly available!
→ for HA → use REPLICATED queues (QUORUM QUEUES) that replicate data across nodes
