Official Handbook

The System Design Handbook

A structured journey from a single binary to a global, highly available architecture. Designed for engineers who want to build, not just memorize.

Choose Your Track

System design is a spectrum. Select the track that matches your current engineering focus.

Track 1: Foundations

0–2 YoE

Master the single binary, basic network routing, and standard database interactions.

Recommended Modules
Mod 1
Mod 2
Mod 3
Mod 4
Mod 5
HTTP/REST, DNS, Load Balancing
RDBMS fundamentals & Indexing

Track 2: Distributed Shift

3–5 YoE

Break the monolith. Build decoupled, horizontally scalable backend services.

Recommended Modules
Mod 4
Mod 5
Mod 6
Mod 7
Mod 8
Microservices & State Management
Message Queues & Streams

Track 3: Global Scale

6+ YoE

Design for failure, global consistency, and orchestration. Build systems that heal.

Recommended Modules
Mod 7
Mod 8
Mod 9
Mod 10
Mod 11
CAP Theorem, Sharding & Consensus
K8s, Circuit Breakers & Self-Healing
Experience Level Focus Area Architectural Goal Key Technologies
Beginner (0-2 YoE) Client-to-Server Making it work in production HTTP, DNS, SQL, Load Balancing
Intermediate (3-5 YoE) Server-to-Server Decoupling & Speed Caching, Queues, Data Replication
Advanced (6+ YoE) Cluster-to-Cluster Surviving catastrophic failure Orchestration, Sharding, Consensus

Engineering Modules

Module 1

The Monolith & Its Limits

Where every system starts. Understanding vertical ceilings, OS constraints, and why a single server can only take you so far.

Read Module
Module 2

Network Protocols & DNS

DNS resolution, TCP/UDP transport, TLS encryption, and HTTP semantics — the full lifecycle of a request from URL bar to response.

Read Module
Module 3

Caching Strategies

Cache-aside, write-through, write-back, and eviction policies (LRU, LFU, FIFO). Master the art of saving results to avoid redundant work.

Read Module
Module 4

Scaling Out

Breaking the vertical ceiling. Stateless mandates, horizontal scaling, and the tradeoffs of distributing your application layer.

Read Module
Module 5

Load Balancing

L4 vs L7 distribution, health checks, sticky sessions, and algorithms like Round Robin, Weighted, and Least Connections.

Read Module
Module 6

Asynchronous Architecture

Decoupling with message queues vs event streams. Handling dead-letter queues, idempotency, and back-pressure.

Read Module
Module 7

Database Scaling & Distributed Data

Replication strategies, sharding (hash, range, directory), CAP/PACELC theorems, and consistency tradeoffs across nodes.

Read Module
Module 8

Database Indexing

B-Tree and Hash indexes, composite keys, covering indexes, and eliminating full table scans for O(log n) lookups.

Read Module
Module 9

Orchestration & Resiliency

Containers, Kubernetes, circuit breakers, retries with backoff, and securing the perimeter. Design systems that heal themselves.

Read Module
Module 10

Advanced Caching & Invalidation

Cache invalidation at scale: race conditions, stale sets, lease-based caching, CDC pipelines, Redis Cluster, CDN purge strategies, and multi-layer cache coherence.

Read Module
Module 11

NoSQL & Purpose-Built Databases

Document stores (MongoDB), key-value (Redis, DynamoDB), wide-column (Cassandra), graph (Neo4j), vector databases, and polyglot persistence patterns.

Read Module
Module 12

The 4-Step Design Framework

Requirements, estimation, high-level design, deep dive. A repeatable mental model for system design interviews and greenfield architectures.

Read Module
Module 13

Applied Design: File Storage

Build S3 from scratch: blob storage, metadata service, erasure coding, multipart upload, pre-signed URLs, and 11-nines durability.

Read Module
Module 14

Applied Design: Social Feed

Fan-out on write vs read, hybrid model for celebrities, ML-based ranking pipeline, and timeline assembly at 500M DAU.

Read Module
Module 15

Applied Design: Real-time Chat

WebSocket connections, message ordering, presence optimization, offline sync, group chat scaling, and end-to-end encryption.

Read Module

"The best way to learn
is by doing."

Every module includes Toolkit Side-Quests—interactive simulators where you can break, scale, and visualize the concepts you just learned.