Skip to content

Learning guide

Choose a route through Mastering System Design

Start with your current knowledge, follow explicit prerequisites and distinguish reading progress from design readiness.

Published date · Last edited: · 11 min reading · Author's judgment

More
20px

Choose the course that fits your goal

The System Design entrance offers two courses. Fundamentals is a guided sequence from mechanisms to complete designs. Mastering System Design is a case-study course for readers who already understand the basic mechanisms and want to inspect architecture decisions in depth. Choose one course as your main study path. Readers with the required knowledge can choose Mastering directly; Fundamentals is available as an optional refresher when a particular concept needs more explanation.

Begin with the preparation you need

If requests, records, resource units and failure behavior are unfamiliar, use the seven System Design foundation chapters and then follow Fundamentals. The five Mastering bootcamp modules remain available as quick introductory refreshers. Mastering cases must explain their knowledge requirements and course-local preparation before they enter a released sequence. Attempt the explained questions as you study; marking a page read records study activity rather than readiness for an unfamiliar design.

Stay inside a clear course path

Fundamentals follows its published module and lesson order. Mastering will provide a recommended sequence as cases complete editorial review; its current blueprint chapters remain drafts. The prerequisite map below describes those draft chapters and is a planning/reference aid, not evidence that all required preparation is published. Use optional cross-course reading to revisit a specific idea, then return to the course you selected. A next-lesson action should identify a real destination inside that course.

Move from components to complete cases

Start with short links after storage, caching, partitioning and operation identity. Continue to chat and feeds after messaging and ordering. Payment needs stronger reasoning about uncertain effects and money-state transitions. Video and search add distinct bandwidth and indexing constraints. Ride matching and collaborative editing require different interpretations of freshness and concurrency. A case is not complete because it contains the names of all those components; you should be able to explain which requirement forced each component into the design.

Use the advanced reference route deliberately

Infrastructure and AI chapters are advanced reference material. Their prerequisite lists identify the mechanism knowledge needed before considering specialized internals. A storage service is not equivalent to an application using cloud storage; a matching engine is not simply a message queue; a training checkpoint is not just a copy of model weights. Begin with a question you need the chapter to answer. Pages still marked editorial review pending remain drafts and should not be treated as finished textbook chapters.

Check readiness with a blank page

Choose an operation and name its authoritative record, successful outcome and uncertain failure state. Estimate the resource that limits it. Draw the initial deployment without speculative components, then explain what changes when demand or failure assumptions change. If the answer depends on a term you cannot explain, revisit the linked prerequisite. Readiness is the ability to defend a decision under changed conditions, not the ability to repeat a diagram.

What completion means here

Reading completion is stored locally in this browser. It does not create a certificate or an assessment of your professional level. Practice uses explicit self-review criteria: requirement fit, units and arithmetic, ownership, access paths, recovery, security and communication. Record uncertainty and revisit it. Do not count an attractive drawing or a fast answer as a correct design if it cannot explain concurrent requests or a lost response.

Own-track prerequisite map

Each prerequisite below is an earlier concept needed by that topic. Start with the bootcamp if these concepts are unfamiliar.

  1. Back-of-Envelope Capacity Estimation — No chapter prerequisites; begin after the bootcamp.
  2. Latency Numbers & Networking Foundations — Back-of-Envelope Capacity Estimation
  3. Load Balancing & API Gateways — Back-of-Envelope Capacity Estimation; Latency Numbers & Networking Foundations
  4. SQL vs. NoSQL vs. NewSQL Storage Engines — Back-of-Envelope Capacity Estimation
  5. Indexes & Storage Engines: B-Trees vs. LSM Trees — SQL vs. NoSQL vs. NewSQL Storage Engines
  6. Distributed Caching & Stampede Prevention — SQL vs. NoSQL vs. NewSQL Storage Engines; Indexes & Storage Engines: B-Trees vs. LSM Trees
  7. Message Queues & Event Streams: Kafka vs. RabbitMQ — Back-of-Envelope Capacity Estimation; SQL vs. NoSQL vs. NewSQL Storage Engines
  8. Consistency Models: CAP, PACELC & Linearizability — SQL vs. NoSQL vs. NewSQL Storage Engines
  9. Database Sharding & Consistent Hashing — SQL vs. NoSQL vs. NewSQL Storage Engines; Indexes & Storage Engines: B-Trees vs. LSM Trees
  10. Replication, Consensus & Automated Failover — Consistency Models: CAP, PACELC & Linearizability; Database Sharding & Consistent Hashing
  11. Rate Limiting Algorithms: Token Bucket to Sliding Window — Back-of-Envelope Capacity Estimation; Load Balancing & API Gateways
  12. Idempotency Keys & Distributed Retries — SQL vs. NoSQL vs. NewSQL Storage Engines; Message Queues & Event Streams: Kafka vs. RabbitMQ
  13. Monolith vs. Microservices Architecture — SQL vs. NoSQL vs. NewSQL Storage Engines; Message Queues & Event Streams: Kafka vs. RabbitMQ; Idempotency Keys & Distributed Retries
  14. Service Discovery & Service Mesh Architecture — Load Balancing & API Gateways; Monolith vs. Microservices Architecture
  15. Observability, Distributed Tracing & Error Budget SLOs — Back-of-Envelope Capacity Estimation; Latency Numbers & Networking Foundations
  16. Timeouts, Circuit Breakers & Backpressure — Latency Numbers & Networking Foundations; Message Queues & Event Streams: Kafka vs. RabbitMQ; Rate Limiting Algorithms: Token Bucket to Sliding Window
  17. Distributed Consensus: Raft & Multi-Paxos — Consistency Models: CAP, PACELC & Linearizability; Replication, Consensus & Automated Failover
  18. Distributed Transactions: 2PC vs. Saga Orchestration — Idempotency Keys & Distributed Retries; Distributed Consensus: Raft & Multi-Paxos
  19. Event Sourcing & CQRS Architecture — Message Queues & Event Streams: Kafka vs. RabbitMQ; Consistency Models: CAP, PACELC & Linearizability; Idempotency Keys & Distributed Retries
  20. Time, Clocks & Distributed Ordering: Lamport to TrueTime — Consistency Models: CAP, PACELC & Linearizability; Distributed Consensus: Raft & Multi-Paxos
  21. CDN Architecture, Anycast & Edge Compute — Latency Numbers & Networking Foundations; Distributed Caching & Stampede Prevention
  22. Security Architecture, Zero-Trust & Multi-Tenancy — SQL vs. NoSQL vs. NewSQL Storage Engines; Idempotency Keys & Distributed Retries
  23. URL Shortener Architecture — SQL vs. NoSQL vs. NewSQL Storage Engines; Distributed Caching & Stampede Prevention; Database Sharding & Consistent Hashing; Idempotency Keys & Distributed Retries
  24. Real-Time Distributed Chat System — Message Queues & Event Streams: Kafka vs. RabbitMQ; Database Sharding & Consistent Hashing; Idempotency Keys & Distributed Retries; Time, Clocks & Distributed Ordering: Lamport to TrueTime
  25. Distributed News Feed Architecture — Distributed Caching & Stampede Prevention; Message Queues & Event Streams: Kafka vs. RabbitMQ; Database Sharding & Consistent Hashing
  26. High-Throughput Ledger & Payment Gateway — Idempotency Keys & Distributed Retries; Distributed Transactions: 2PC vs. Saga Orchestration; Time, Clocks & Distributed Ordering: Lamport to TrueTime
  27. Video Streaming Platform Architecture — Message Queues & Event Streams: Kafka vs. RabbitMQ; CDN Architecture, Anycast & Edge Compute
  28. Search Engine & Real-Time Typeahead — Indexes & Storage Engines: B-Trees vs. LSM Trees; Message Queues & Event Streams: Kafka vs. RabbitMQ; Database Sharding & Consistent Hashing
  29. Ride-Hailing & Geospatial Matching — Database Sharding & Consistent Hashing; Idempotency Keys & Distributed Retries; Time, Clocks & Distributed Ordering: Lamport to TrueTime
  30. Real-Time Collaborative Editing — Consistency Models: CAP, PACELC & Linearizability; Idempotency Keys & Distributed Retries; Time, Clocks & Distributed Ordering: Lamport to TrueTime
  31. Enterprise RAG System Architecture & Failure Modes — Indexes & Storage Engines: B-Trees vs. LSM Trees; Security Architecture, Zero-Trust & Multi-Tenancy; Search Engine & Real-Time Typeahead
  32. High-Throughput LLM Inference Serving — Back-of-Envelope Capacity Estimation; Rate Limiting Algorithms: Token Bucket to Sliding Window; Timeouts, Circuit Breakers & Backpressure
  33. Autonomous Agent Orchestration Platform — Message Queues & Event Streams: Kafka vs. RabbitMQ; Idempotency Keys & Distributed Retries; Distributed Transactions: 2PC vs. Saga Orchestration
  34. AI Evaluation, Red-Teaming & Observability Pipeline — Observability, Distributed Tracing & Error Budget SLOs; Enterprise RAG System Architecture & Failure Modes
  35. Enterprise AI Gateway: Routing, Semantic Caching & Guardrails — Distributed Caching & Stampede Prevention; Rate Limiting Algorithms: Token Bucket to Sliding Window; Security Architecture, Zero-Trust & Multi-Tenancy; High-Throughput LLM Inference Serving
  36. Enterprise Copilot Platform: Full Architecture (Capstone) — Security Architecture, Zero-Trust & Multi-Tenancy; Enterprise RAG System Architecture & Failure Modes; Autonomous Agent Orchestration Platform; Enterprise AI Gateway: Routing, Semantic Caching & Guardrails
  37. Distributed Unique ID Generator (Twitter Snowflake Scale) — Database Sharding & Consistent Hashing; Time, Clocks & Distributed Ordering: Lamport to TrueTime
  38. Distributed Lock Manager (etcd / ZooKeeper / Chubby Internals) — Idempotency Keys & Distributed Retries; Distributed Consensus: Raft & Multi-Paxos
  39. Distributed Task & Cron Scheduler (Temporal / Quartz Scale) — Message Queues & Event Streams: Kafka vs. RabbitMQ; Idempotency Keys & Distributed Retries; Distributed Lock Manager (etcd / ZooKeeper / Chubby Internals)
  40. Distributed Blob & Object Storage (Amazon S3 Scale) — Database Sharding & Consistent Hashing; Replication, Consensus & Automated Failover; Idempotency Keys & Distributed Retries
  41. Distributed File Systems (GFS / HDFS / Colossus Architecture) — Database Sharding & Consistent Hashing; Replication, Consensus & Automated Failover; Distributed Blob & Object Storage (Amazon S3 Scale)
  42. In-Memory Distributed Key-Value Store (Redis Cluster / Memcached) — Distributed Caching & Stampede Prevention; Database Sharding & Consistent Hashing; Replication, Consensus & Automated Failover
  43. Time-Series Database Engine (Prometheus / InfluxDB / Gorilla) — Indexes & Storage Engines: B-Trees vs. LSM Trees; Message Queues & Event Streams: Kafka vs. RabbitMQ; Observability, Distributed Tracing & Error Budget SLOs
  44. Graph Database & Authorization Engine (Google Zanzibar / Meta TAO) — Consistency Models: CAP, PACELC & Linearizability; Security Architecture, Zero-Trust & Multi-Tenancy
  45. Change Data Capture (CDC) & Outbox Pipelines (Debezium Scale) — Message Queues & Event Streams: Kafka vs. RabbitMQ; Idempotency Keys & Distributed Retries; Event Sourcing & CQRS Architecture
  46. Real-Time Stream Processing Engine (Apache Flink Internals) — Message Queues & Event Streams: Kafka vs. RabbitMQ; Time, Clocks & Distributed Ordering: Lamport to TrueTime; Change Data Capture (CDC) & Outbox Pipelines (Debezium Scale)
  47. Real-Time OLAP & Columnar Analytics (ClickHouse / Apache Pinot) — Indexes & Storage Engines: B-Trees vs. LSM Trees; Database Sharding & Consistent Hashing; Real-Time Stream Processing Engine (Apache Flink Internals)
  48. Modern Data Lakehouse Architecture (Apache Iceberg / Delta Lake) — Idempotency Keys & Distributed Retries; Distributed Blob & Object Storage (Amazon S3 Scale); Change Data Capture (CDC) & Outbox Pipelines (Debezium Scale)
  49. Large-Scale Log Aggregation & Search Pipeline (Datadog / Splunk Scale) — Message Queues & Event Streams: Kafka vs. RabbitMQ; Observability, Distributed Tracing & Error Budget SLOs; Time-Series Database Engine (Prometheus / InfluxDB / Gorilla)
  50. Feature Store Architecture for Real-Time ML (Feast / Tecton Scale) — Time, Clocks & Distributed Ordering: Lamport to TrueTime; Change Data Capture (CDC) & Outbox Pipelines (Debezium Scale); Real-Time Stream Processing Engine (Apache Flink Internals)
  51. Vector Database Internals (Milvus / Qdrant / pgvector Scale) — Indexes & Storage Engines: B-Trees vs. LSM Trees; Search Engine & Real-Time Typeahead; Enterprise RAG System Architecture & Failure Modes
  52. Distributed Web Crawler — Message Queues & Event Streams: Kafka vs. RabbitMQ; Database Sharding & Consistent Hashing; Rate Limiting Algorithms: Token Bucket to Sliding Window
  53. Notification & Omnichannel Push System — Message Queues & Event Streams: Kafka vs. RabbitMQ; Idempotency Keys & Distributed Retries; Security Architecture, Zero-Trust & Multi-Tenancy
  54. Cloud File Sync & Sharing Service — Idempotency Keys & Distributed Retries; Time, Clocks & Distributed Ordering: Lamport to TrueTime; Distributed Blob & Object Storage (Amazon S3 Scale)
  55. High-Concurrency Ticket Booking System — Rate Limiting Algorithms: Token Bucket to Sliding Window; Idempotency Keys & Distributed Retries; Distributed Transactions: 2PC vs. Saga Orchestration
  56. Flash Sale & E-Commerce Inventory Engine — Rate Limiting Algorithms: Token Bucket to Sliding Window; Timeouts, Circuit Breakers & Backpressure; High-Concurrency Ticket Booking System
  57. Hotel & Flight Reservation System — Distributed Transactions: 2PC vs. Saga Orchestration; High-Concurrency Ticket Booking System
  58. Ad Click Aggregation & Real-Time Bidding (RTB) — Idempotency Keys & Distributed Retries; Time, Clocks & Distributed Ordering: Lamport to TrueTime; Real-Time Stream Processing Engine (Apache Flink Internals)
  59. Real-Time Gaming Leaderboard — Indexes & Storage Engines: B-Trees vs. LSM Trees; Database Sharding & Consistent Hashing; Real-Time Stream Processing Engine (Apache Flink Internals)
  60. Proximity Service & Business Discovery — Database Sharding & Consistent Hashing; Ride-Hailing & Geospatial Matching
  61. Food Delivery & Multi-Hop Logistics — Distributed Transactions: 2PC vs. Saga Orchestration; Ride-Hailing & Geospatial Matching; Distributed Task & Cron Scheduler (Temporal / Quartz Scale)
  62. Stock Exchange & Low-Latency Order Matching Engine — Distributed Consensus: Raft & Multi-Paxos; Time, Clocks & Distributed Ordering: Lamport to TrueTime; High-Throughput Ledger & Payment Gateway
  63. Cloud CI/CD & Ephemeral Container Execution — Message Queues & Event Streams: Kafka vs. RabbitMQ; Security Architecture, Zero-Trust & Multi-Tenancy; Distributed Task & Cron Scheduler (Temporal / Quartz Scale)
  64. Multi-Region Active-Active Architecture & Disaster Recovery — Consistency Models: CAP, PACELC & Linearizability; Replication, Consensus & Automated Failover; Distributed Consensus: Raft & Multi-Paxos
  65. Distributed Webhooks & Event Delivery Platform — Message Queues & Event Streams: Kafka vs. RabbitMQ; Idempotency Keys & Distributed Retries; Security Architecture, Zero-Trust & Multi-Tenancy
  66. Real-Time Voice & Multimodal AI Streaming — Latency Numbers & Networking Foundations; Timeouts, Circuit Breakers & Backpressure; High-Throughput LLM Inference Serving
  67. AI Code Indexing & Repository Context Engine — Security Architecture, Zero-Trust & Multi-Tenancy; Search Engine & Real-Time Typeahead; Change Data Capture (CDC) & Outbox Pipelines (Debezium Scale)
  68. Large-Scale Model Training & Checkpoint Infrastructure — Replication, Consensus & Automated Failover; Distributed Task & Cron Scheduler (Temporal / Quartz Scale); Distributed Blob & Object Storage (Amazon S3 Scale)
  69. Multi-Tenant SaaS Control Plane & Usage-Based Metering — Idempotency Keys & Distributed Retries; Distributed Transactions: 2PC vs. Saga Orchestration; Security Architecture, Zero-Trust & Multi-Tenancy