Design a Distributed Messaging System
0%
Editorial Solution
System requirements
Functional
Capacity estimation
Traffic
API design
Producer API
Database design
Append-Only Commit Log
High-level design
Producers
Request flows
Producer Write Flow
Detailed component design
ISR Replication: The GATE
Trade-offs / tech choices
Acks Trade-Off With Concrete Numbers
Failure scenarios / bottlenecks
Broker Failure and Leader Election
Future improvements
Schema Registry
Table of Contents
Premium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockTry this problem yourself
Reading a solution is not the same as producing one under interview pressure. Design it on the whiteboard and get scored feedback.
Asked in these interview guides
Company guides that list this problem among their sample questions.
Concepts used in this design
The building blocks this design relies on, each explained in its own lesson.
0%
Editorial Solution
System requirements
Functional
Capacity estimation
Traffic
API design
Producer API
Database design
Append-Only Commit Log
High-level design
Producers
Request flows
Producer Write Flow
Detailed component design
ISR Replication: The GATE
Trade-offs / tech choices
Acks Trade-Off With Concrete Numbers
Failure scenarios / bottlenecks
Broker Failure and Leader Election
Future improvements
Schema Registry