Code RoomDistributed append-only log
HardPrep Room Coding #3167

Distributed append-only log

System designDatabases & SQLDistributed systemsSenior–Staff~50 min

Design a distributed, replicated append-only log service (Kafka-class) as the durable backbone for event streaming: producers append to topics, consumers read by offset, ordering must be preserved per partition, and the system must survive broker failures without losing acknowledged writes. Target 1GB/sec sustained writes, thousands of partitions, multi-day retention, consumers ranging from real-time to hours-behind. Describe the log/segment storage, the replication+acknowledgement protocol, how consumers track position, and the central durability-vs-latency trade-off.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts (data model, bottlenecks, consistency, failure modes) and name the trade-offs you are making.

Clarify5:30 left
Estimate5:30 planned
Design16:30 planned
Deep dive13:30 planned
Failure9:00 planned
0:00
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.