Message Broker
মেসেজ ব্রোকার
Producer আর consumer-এর মাঝের durable মধ্যস্থ — decoupling, backpressure, retry, fan-out-এর কেন্দ্র।
also: message-queue
দুই গড়ন, দুই স্বভাব:
queue : এক message, এক consumer → work distribution (RabbitMQ)
log : এক message, সব subscriber → event broadcast + replay (Kafka)
- Decoupling তিন মুখে: time (receiver offline থাকতে পারে), space (IP/ topology জানার দরকার নেই), failure (slow consumer queue-তে জমে)
- Guarantee broker+client contract-এর ফল: ack policy, fsync timing, consumer commit — কথার exactly-once নয়, যাচাই করা semantics
- Broker-ই নতুন single point of contention — partition count, retention, consumer lag monitoring এর রোজকার সংসার