🧭 System Design Interview Study Guide & Practice Framework

A battle-tested preparation blueprint, structured study tracks, and a 45-minute timed interview execution framework for senior engineering roles at FAANG / Tier-1 tech companies.


Use the book-to-course reading map to find exercises for each chapter of Kleppmann and Xu.

Start with one of these routes. The reading and paper exercises are free and need only a browser.

🎯 The 3 Study Tracks

Choose the track that fits your preparation timeline:

flowchart TD
    Start(["📅 Choose Your Prep Timeline"]) --> A{"Available Time?"}
    A -->|"1 Week (Urgent Interview)"| T1["🚀 1-Week Crash Course<br/>10 High-Frequency Patterns"]
    A -->|"4 Weeks (Targeted Prep)"| T2["⏱️ 4-Week Core Track<br/>25 Core System Modules"]
    A -->|"8-12 Weeks (Comprehensive)"| T3["🎓 Full Mastery Track<br/>All 45 Modules + Runnable Labs"]

    T1 --> Finish(["🏆 Senior Interview Ready"])
    T2 --> Finish
    T3 --> Finish

Track 1: 🚀 1-Week Crash Course (10 Highest-Yield Modules)

Best for: Candidates with an interview scheduled this week.

Focus strictly on the concepts tested in 80%+ of senior system design interviews:

Day Focus Topic Core Modules Key Interview Question
Day 1 Estimation & Traffic 27 - Estimation · 03 - Load Balancing "How many servers do you need for 100k QPS?"
Day 2 Databases & Sharding 06 - SQL vs NoSQL · 08 - Partitioning "How would you shard user data when 1 node runs out of disk?"
Day 3 Replication & Consensus 07 - Replication · 13 - CAP/PACELC "Why can't a distributed database guarantee both strong consistency and 100% availability?"
Day 4 Caching & Rate Limiting 10 - Caching · 05 - Rate Limiting "How do you prevent a cache stampede during a hot-key write spike?"
Day 5 Async & Queues 17 - Message Queues · 20 - Resilience "How does Kafka guarantee message ordering across consumer instances?"
Day 6 Full System Design #1 34 - News Feed · 21 - URL Shortener Fanout-on-write vs Fanout-on-read trade-offs.
Day 7 Full System Design #2 40 - Payment System · 39 - Proximity Service Double-entry bookkeeping, idempotency keys, and spatial indexing.

Track 2: ⏱️ 4-Week Core Track (25 Core Modules)

Best for: Systematic preparation with balanced theory and architecture.


Track 3: 🎓 8-Week Complete Mastery (All 45 Modules)

Best for: Staff / Principal engineer candidates aiming for top-band offers.


⏱️ The 45-Minute Timed Interview Framework

In senior system design interviews, pacing determines whether you pass or fail. Use this structured 5-phase framework:

timeline
    title 45-Minute Interview Time Allocation
    00-05 min : Phase 1 - Requirements & Estimation
    05-15 min : Phase 2 - High-Level Architecture & APIs
    15-30 min : Phase 3 - Deep Dive into Core Bottlenecks
    30-40 min : Phase 4 - Fault Tolerance & Edge Cases
    40-45 min : Phase 5 - Wrap-Up & Trade-off Review

Phase 1: Clarify Requirements & Scope (00:00 – 05:00)

Phase 2: High-Level Architecture & API Design (05:00 – 15:00)

Phase 3: Deep Dive into Core Bottlenecks (15:00 – 30:00)

Phase 4: Fault Tolerance, Failure Modes & Edge Cases (30:00 – 40:00)

Phase 5: Wrap-Up & Trade-off Review (40:00 – 45:00)


📋 Senior Interview Readiness Checklist

Before your on-site interview, ensure you can confidently answer and draw diagrams for:

Timed mock interviews

For each prompt, spend five minutes clarifying requirements and five estimating load. Divide the remaining time between drawing the design and explaining its failure modes. Give yourself one point per rubric item you address concretely.

URL shortener · 25 minutes

Design for 100 million redirects and 2 million new links per day. Links must work during a cache outage. Explain custom aliases and how a link owner can disable a link.

Rubric and walkthrough
  • Estimate read and write rates separately and state a peak assumption.
  • Define create and redirect APIs and explain identifier collisions.
  • Trace cache hits, misses, and an outage.
  • Explain how disabling a link reaches caches and how long a stale redirect could survive.
  • Choose a latency or availability objective and justify one trade-off.

URL shortener walkthrough

Notifications · 35 minutes

Design email and push notifications for five million recipients. Users can opt out of promotions. A provider begins timing out during a campaign. Explain how alerts and promotions share capacity.

Rubric and walkthrough
  • Separate transactional and promotional requirements and size a burst.
  • Draw the producer, queue, workers, and delivery state.
  • Explain when preferences are enforced and how updates affect queued work.
  • Bound retries and describe how duplicate deliveries and provider outages are handled.
  • Explain priority or isolation and name a metric that reveals backlog.

Notification walkthrough

Hotel reservation · 40 minutes

Two people try to book the last suitable room over three nights. A payment succeeds, but the response times out. Design inventory, holds, and payment confirmation.

Rubric and walkthrough
  • Clarify room type versus specific room assignment and model the full stay.
  • Choose a transaction rule that prevents partial holds and overbooking.
  • Describe expiry and what happens when confirmation races with it.
  • Use a stable payment idempotency key and explain how an unknown outcome is reconciled.
  • Draw the reservation states and show what support can inspect after a failure.

Hotel reservation walkthrough


🤝 Community Contributions

Have an alternative solution, post-mortem war story, or interview question? We welcome community contributions! Check out CONTRIBUTING.md to see how you can add your own knowledge to this guide.