Interview Q&A / System Design
System Design interview questions
Caching, scaling, databases and classic design problems for beginners.
Prefer rapid revision? Practise System Design short interview answers →
- What is the difference between a message queue and publish-subscribe?
In a queue each message is processed by exactly one consumer from a group, which shares the work. In pub-sub each message is delivered to every subscriber, so many services can react to the same event.
BeginnerQuick answer1 min read