System Design Interview Preparation

A repeatable framework, estimation practice, building blocks and worked case studies.

Practise each case study out loud with a timer, and spend the first third of the time on requirements and estimates.

  1. Requirements and the 18-step framework

    A structure that keeps you from jumping straight to technologies.

  2. Capacity estimation

    The worked example shows how estimates drive decisions such as caching and sharding.

  3. API design

    The case study’s API section covers idempotency keys, asynchronous 202 responses and cursor pagination.

  4. Data modelling and storage selection

    Access patterns first, then the store that fits them.

    Also: Data models, Storage engines

  5. High-level design with reusable building blocks

    Load balancers, caches, brokers, replication and sharding, each with its failure modes.

  6. Scaling

    Replication, partitioning, caching and asynchronous processing, chosen from the numbers.

    Also: Load balancing and proxies, Caching strategies, Consistent hashing, Replication, Partitioning (sharding)

  7. Consistency and distributed-systems theory

    Interviewers probe what guarantees your design gives and what it costs.

    Also: Transactions and isolation, Consistency and consensus, Distributed systems faults

  8. Communication: queues, delivery semantics and real-time push

    At-least-once delivery plus idempotency is the answer to many follow-up questions.

    Also: Real-time communication, Stream processing

  9. Reliability

    The failure-handling table shows how to reason about every dependency being slow or down.

  10. Trade-offs and follow-up questions

    Defending a design matters as much as drawing it; this article models trade-off reasoning.