Skip to content
SD-11 · DISTRIBUTED EVENT LOG · INTERACTIVE

Break it.
Then fix it.

Turn up the producers and watch what breaks: one broker, one consumer, one copy, full disks. Every switch is a decision you would defend in an interview.

CHALLENGETake in 3 GB/s of events with 3 copies, 7 days of retention, consumers keeping up and produce p99 under 50 ms.
StatusDOWNAt 1,000 MB/s produced
Produce p99128 msTarget under 50 ms
Failed writes32.5%Produce requests rejected
Consumer lagGrowing20 MB/s of processing
Monthly cost$40,95034 brokers · 1 consumers
ProducersLIVE
1.0M events/s · 1.0K MB/s
traffic source
Controller quorumOK
3 nodes, metadata log
leaders and in-sync sets
Brokers × 34OK
3 copies of each partition
3.0K MB/s written · 1.0M req/s
Broker disksDOWN
7 days of log segments
605 / 408 TB
One consumerDOWN
Lag is growing
1.0K / 20 MB/s
One consumer is falling behind. A single consumer processes about 20 MB/s, and 1.0K MB/s is arriving. Put consumers in a group: the topic’s 256 partitions are shared out, and each partition is read by exactly one member.
4×Smaller on the wireA compressed batch of 64 events is about a quarter of their raw size.
3Copies of every partitionOne per zone. A write is acknowledged once at least 2 are in sync.
1 of 7Days kept on broker disksOlder segments live in object storage, stored once.
256Partitions in the topicThe most consumers one group can use at the same time.
Want the reasoning behind every switch?Visual walkthroughFull write-up
Was this lab useful?Your vote tells us what to improve next.