KatInterview

Present and defend a distributed system you personally built

System DesignModel answer
HardModel answerSystem Designsystem-designdistributed-systemskafka

Last updated

Walk through a production system you owned end to end — requirements, architecture, data model, scaling, consistency trade-offs, failure modes, and observability — and defend every decision under follow-up questions.

You are asked to present the design of a significant system you personally owned in production. Cover the functional and non-functional requirements, sketch the high-level architecture (services, data stores, messaging), and trace the main read and write data flows.

Then go deep: explain your data model and why you chose each store, how the system scales (including peaks), what consistency-versus-availability trade-offs you made, where the bottlenecks were and how you measured them, how failures are handled, and how you observe the system in production. Support key decisions with the alternatives you rejected and the numbers you measured.

Expect the interviewer to interrupt with "why not X?", "what happens if Y fails?", and "how did you know it was fixed?". They are testing genuine ownership — whether you can go several levels deep on any component — not whether you can recite a textbook reference design.

Hints

Hint 1

Pick a project with real distributed-systems substance — several services, a durable queue, a database at meaningful load — not a single-instance CRUD app you cannot scale-discuss.

Hint 2

Put numbers on every non-functional requirement: QPS average and peak, data volume and retention, latency SLOs, RPO/RTO, availability target. Vague requirements make every later trade-off unfalsifiable.

Hint 3

Draw the boxes first, then narrate exactly one write path and one read path end to end, step by step, before diving into any single component.

Hint 4

Prepare two or three 'hardest problem' stories with before-and-after metrics — the bottleneck, the fix, and how you verified it.