System design fundamentals learning path

Backend engineers preparing for system design interviews who want fundamentals, API choices and a real scaling walk-through in order.

40 questions4 levels15 must‑knowFree, no account

Your progress

L1 · 0 of 6L2 · 0 of 20L3 · 0 of 13L4 · 0 of 1

Level 1 · 6 questions. Begin with what gets asked in the first ten minutes. Levels 2 to 4 build on it.

Start with Level 1
Level 1First ten minutesTwo-sentence answers to what gets asked first.6 questions · 3 topics
Level 2Daily jobWhat you use at work every week.20 questions · 6 topics

Caching, rate limits and Redis

  1. 1.1How do you keep a cache in sync with the database, and what is a cache stampede?Must‑know3 min
  2. 1.2How does rate limiting work, and which algorithm would you choose?Must‑know3 min
  3. 1.3What can Redis do besides caching, and what guarantees must you check?Must‑know4 min

Data growth

  1. 2.1How does database replication work, and what is replica lag?Must‑know3 min
  2. 2.2How do you shard data, and how do you choose a shard key?Must‑know3 min
  3. 2.3Your database is getting slow as traffic grows. What do you do, in what order?Must‑know3 min

Reliability and service boundaries

  1. 3.1How do you make a service fault tolerant when its dependencies fail?Must‑know3 min
  2. 3.2How do services find each other in a microservices system?2 min
  3. 3.3When would you choose a monolith instead of microservices?Must‑know4 min

Consistency and coordination

  1. 4.1What consistency models should you know, from linearizable to eventual?3 min
  2. 4.2What are two-phase commit, sagas and the outbox pattern, and when do you use each?3 min
  3. 4.3How do idempotency keys make retries safe for a payment API?Must‑know3 min

REST, gRPC and MCP

  1. 5.1What constraints define REST, and what does the uniform interface require?4 min
  2. 5.2How should you version a REST API without breaking clients?Must‑know3 min
  3. 5.3How does gRPC work, and what are the four RPC types?5 min
  4. 5.4How do you evolve a Protocol Buffers message without breaking old clients?3 min
  5. 5.5How does the Model Context Protocol work, and how does it differ from REST and gRPC?8 min

Finding the first bottlenecks

  1. 6.1How do you load test this honestly and find the real bottleneck?3 min
  2. 6.2The database CPU is pinned at 5,000 requests/s. What's the first fix, and does switching from Node.js to Go help?2 min
  3. 6.3Redis is no longer the limit, but Postgres CPU is. How does caching the links get you to half a million?2 min
Level 3SeniorProduction trade-offs and failure modes.13 questions · 3 topics

Hard coordination and database choice

  1. 1.1How does leader election work, and how do you prevent split-brain?3 min
  2. 1.2When is switching databases the right call? Compare Uber and Instagram.7 min

Choosing an API style under load

  1. 2.1Why can a TCP load balancer mishandle gRPC, and can a browser call it?3 min
  2. 2.2When would you choose REST, gRPC or MCP for the same capability?6 min

Scaling a real system to 1 million RPS

  1. 3.1Design and scale a real URL shortener's redirect to 1M HTTP requests/s and about 2B Postgres rows every 30 minutes. Where do you start?4 min
  2. 3.2At 50,000 requests/s the disk is mostly idle. Why is the write path still the bottleneck?2 min
  3. 3.3How do you batch the view writes without losing data if a process crashes?3 min
  4. 3.4Your write buffer lives in RAM. How do you size it, and what happens if the consumer falls behind?3 min
  5. 3.5The app server is out of CPU at half a million. Do you scale up, scale out, or rewrite?3 min
  6. 3.6How do you keep request logging from becoming the bottleneck, or silently dropping lines?2 min
  7. 3.7Walk through the final 30-minute test. How do you prove nothing was lost?3 min
  8. 3.8The database is a single EC2 box at high load. What would you change for durability before production?2 min
  9. 3.9What should a senior candidate say about cost, and when is this scale overkill?2 min
Level 4InternalsHow it works underneath, and at scale.1 questions · 1 topics

Schema and insert path at extreme scale

  1. 1.1What broke in the Postgres schema and insert path only at a million rows per second?3 min