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

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

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock
Try 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.


Markdown supported

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

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