Level 3: Distributed systems · L3.3 Queues, pub/sub & event-driven architecture
Pub/sub and fan-out
Choose queue vs pub/sub vs log for a fan-out need.
12 min · Pro
What you take away
- A queue gives one message to one consumer; pub/sub gives a copy to every subscriber; a log lets every group read at its own pace.
And 3 more inside the class, in Pro.
How the class is laid out
- The problem
- The simple version
- Three shapes, one question
- Check your understanding