RabbitMQ এর নমনীয় এক্সচেঞ্জ এবং বাইন্ডিং বিভিন্ন মেসেজিং প্যাটার্ন সমর্থন করে — কাজের সারি, প্রকাশ/সাবস্ক্রাইব, রাউটিং, টপিক্স এবং অনুরোধ/উত্তর (RPC)। এই প্যাটার্নগুলি বোঝা RabbitMQ কে বিভিন্ন যোগাযোগ চাহিদার জন্য ব্যবহার করার ক্ষেত্রে মূল চাবিকাঠি।
কাজের সারি (কাজ বিতরণ)
WORK QUEUE → distribute tasks among multiple WORKERS (competing consumers):
→ producer → queue → multiple consumers (each message to ONE worker) → parallel processing
→ for: distributing background work; scaling task processing
প্রকাশ/সাবস্ক্রাইব (সম্প্রচার)
PUB/SUB → broadcast a message to MULTIPLE consumers (each gets a copy):
→ FANOUT exchange → every bound queue gets the message → all consumers receive it
→ for: broadcasting events to all interested parties (notifications, updates)
