Caffeinated Coder
Book an appointment
Lesson 45 · Building systems

Message queues

A message queue sits between the part of a system that creates work and the part that does it. Follow a shop that puts email jobs on a queue and two workers that take them off: see how acknowledgements keep jobs safe, why a crash can deliver a message twice (so handlers must be idempotent), how failing messages are retried and then parked in a dead-letter queue, and how a topic gives every subscriber its own copy.

12 min10 steps5 questionsBeginner
Fig 45 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.