Preparing for system design interviews

You can build a working service, and you need to design one at scale and defend each choice.

By the end: Turn vague requirements into a design, size it, name where it breaks, and say what you would trade.

0 of 34 steps done≈ 6 h of lessons
Start: Follow a Web Request Through Every Layer →

A lesson counts as done once you mark it Practicing or Mastered at the top of the lesson. A guided session counts once you tick it off on its own page. Labs are part of the order but are not counted.

  1. 1.How a request travels

    1. Follow a Web Request Through Every LayerFoundation≈ 20 minNetworking
    2. DNS: Why Names Need a Distributed DatabaseFoundation≈ 10 minNetworking
    3. TCP: A Reliable Ordered Byte Stream over an Unreliable NetworkIntermediate≈ 10 minNetworking
    4. HTTP: Requests, Responses, Headers and Status CodesIntermediate≈ 15 minNetworking
    5. What Is Software Architecture?Foundation≈ 10 minArchitecture
    6. From a Simple App to a Scaled SystemFoundation≈ 10 minArchitectureThe whole interview in one lesson: add a component only when a problem forces it.
    7. API Architecture: REST, GraphQL, RPC, gRPC, WebSockets, WebhooksFoundation≈ 10 minArchitecture
  2. 2.Storing the data

    1. Why Is This Query Slow? IndexesFoundation≈ 5 minDatabase
    2. Transactions and ACIDFoundation≈ 5 minDatabase
    3. Isolation LevelsFoundation≈ 5 minDatabase
    4. SQL vs NoSQL: Choosing a Data ModelIntermediate≈ 5 minDatabase
    5. Replication and Read ScalingIntermediate≈ 5 minDatabase
    6. Partitioning and ShardingIntermediate≈ 5 minDatabase
  3. 3.Scaling reads and writes

    1. Horizontal vs Vertical ScalingIntermediate≈ 10 minArchitecture
    2. Stateless vs Stateful ServicesIntermediate≈ 10 minArchitecture
    3. Load BalancingIntermediate≈ 10 minArchitecture
    4. Caching ArchitectureFoundation≈ 10 minArchitecture
    5. Cache Invalidation, Stampedes and Hot KeysIntermediate≈ 5 minDatabase
    6. CDN ArchitectureFoundation≈ 10 minArchitecture
    7. Consistent HashingIntermediate≈ 15 minArchitecture
  4. 4.Asynchronous work and consistency

    1. Message QueuesFoundation≈ 10 minArchitecture
    2. IdempotencyIntermediate≈ 10 minArchitecture
    3. Idempotency Keys: The MechanismFoundation≈ 10 minAPI Design
    4. CAP and Distributed SystemsIntermediate≈ 15 minArchitecture
    5. Partial Failure: The Founding ConditionFoundation≈ 15 minDistributed
    6. Quorums: What R + W > N Does and Does Not BuyFoundation≈ 15 minDistributed
    7. Consistency Models: What "Consistent" Has To MeanFoundation≈ 15 minDistributed
    8. Distributed TransactionsIntermediate≈ 10 minArchitecture
    9. Saga PatternAdvanced≈ 15 minArchitecture
  5. 5.Keeping it up

    1. MicroservicesAdvanced≈ 15 minArchitecture
    2. Rate LimitingAdvanced≈ 15 minArchitecture
    3. Circuit BreakerAdvanced≈ 15 minArchitecture
    4. Availability, SLOs and Error BudgetsAdvanced≈ 15 minArchitecture
    5. Logs, Metrics and TracesAdvanced≈ 10 minArchitecture
  6. 6.Practise the interview

    1. Failure simulatorLab / practiceBreak a design before an interviewer does.
    2. Architecture interview questionsLab / practice
    3. Diagram builderLab / practice