system to process vast amounts of messages, while providing operations with the tools required to maintain such a system. It’s a task queue with focus on real-time processing, while also supporting task scheduling.
to ensure the delivery status (e.g. Pessimistic lock) Communication in Distributed System Exactly once delivery At most once delivery At least once delivery
Worker 1 retrieve queue for new workload 2. Broker dispatch message to worker and mark it “dispatched” 3. Worker 1 acknowledge to broker, but a network error occurs Worker 2
2 1. Worker 2 retrieve queue for new workload 2. Broker dispatch message to worker and mark it “dispatched” 3. Worker 2 acknowledge to broker 4. Broker mark the state of message with “received”