No. 19 · Queues & streams
Design a message broker with per-message acknowledgement
OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES
Further reading
At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.
- RabbitMQ: Reliability Guide
How RabbitMQ thinks about failure: what acks, confirms, durable queues and replication each protect against. The right frame for the durability part of the interview; no capacity or sharding discussion.
Link checked 2026-12-06
- RabbitMQ: Consumer Acknowledgements and Publisher Confirms
Details of consumer acks, redelivery after a consumer dies, prefetch limits and publisher confirms. This is where at-least-once delivery actually comes from; read the prefetch section for flow control.
Link checked 2026-12-06
- RabbitMQ: Quorum Queues
Raft-replicated queues: majority writes, leader failover, and delivery limits for poison messages. Good for the replication deep dive; does not cover exchanges and routing.
Link checked 2026-12-06
- RabbitMQ: Dead Letter Exchanges
When messages get dead-lettered (rejected, expired, over the delivery limit) and where they go. Short reference for the retry and poison-message follow-up.
Link checked 2026-12-06
- Amazon SQS Visibility Timeout
The lease-based alternative to RabbitMQ acks: a message is hidden while being processed and reappears if not deleted in time. Useful contrast when you pick a delivery model.
Link checked 2026-12-06
- System Design Interview: Distributed Message Queue
Clear whiteboard walkthrough of an SQS-like queue: front end, metadata service, backend replication across hosts, and delivery guarantees. Does not model RabbitMQ exchanges, bindings or routing keys.
Link checked 2026-12-06
- Design a Distributed Message Queue: System Design Mock Interview
Written summary of a mock with an engineering manager, covering storage choices (SQL, NoSQL, write-ahead log) and fault tolerance. High level; useful to see pacing more than depth.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 2 of 4 links from the audited catalog kept
- leetcode.com/discuss/interview-question/system-design/206134/Amazon-or One-line prompt with no readable answers; little learner value. Recorded as company evidence instead.
- docs.google.com/document/d/1pOarvQbjzLd9tz5ZuxktyrYsZ41mbWba5_LUeFj65l Google Doc of unclear provenance; could not be fetched for review.
We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.
COMPANY EVIDENCE · NOT A FREQUENCY CLAIM
Where it has been reported
Candidate reports
- Candidate report Amazon
- Interview-question post titled "Amazon | System Design" asking to design a distributed message queue. Body only restates the prompt; no role, level or round given. · posted 2018-12-17 · checked 2026-12-06
Catalog tags (unverified)
AppleInstacart
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING
Related practice and guides
From our Learn guides
- Visual guide When a job runs twice
- Pattern Partitioning and ordering: choosing keys you can live with
- Pattern Queues, retries and dead letters