Forward-deployed / AI Knowledge Graph
System Designa systems module

System design for the technical PM

How real systems are designed at scale — from rate limiters to stock exchanges — with the architecture, tradeoffs, and failure modes that shape product decisions.

Core insight

Start with the constraints, not the technology. The numbers drive the architecture, and every design must choose between correctness and throughput.

16 lessons+ recap28 systemsrunnable codediagrams included

How real systems are designed at scale — from rate limiters to stock exchanges. This track covers the architecture, tradeoffs, and failure modes that shape product decisions.

System design for the technical PM

Foundations → building blocks → systems · 28 real-world systems across eight lessons

This track covers the architecture, tradeoffs, and failure modes that shape product decisions.

Foundations
Scaling
Estimation
Framework
Building blocks
Rate limiting
Consistent hashing
KV stores
Unique IDs
Systems
Web-scale
Real-time
Storage
Location
Data infra
Transactional

Every lesson in this track follows the same shape:

This track covers 28 real-world systems across eight system lessons, plus lessons on numbers, traffic and caching, distributed data, ML and GenAI systems, social and media systems, and reliability, and a question bank. Systems are grouped by the kind of problem they solve.

Connects to other tracks

The lessons

📌 Close out the module: Recap & real-world examples

Where the depth lives

Each lesson summarizes an idea and points to the lesson that covers it in full.

If you want the full depth on Read
Turning load forecasts into capacity Numbers, formulas and papers and Foundations & framework
Rate limits, hashing, quorums and IDs Core building blocks
Caches, balancers, CDNs, stores and APIs Traffic, caching, APIs and storage choice
Replicas, consistency, consensus and sagas Distributed data and consistency
Recommendations, ads, search and vector indexes ML system design
Serving LLMs and running agents safely GenAI and agent platforms
Counters, graphs, photos and live video Social and media systems
Failure, rollout safety and recovery Reliability and operations
Feeds, caches and fan-out Web-scale services
Messages that must not be lost or doubled Data infrastructure and Transactional & financial systems
How models work inside the serving layer Generating text and the KV cache and Cost optimization
Evals, traces and the numbers you measure Evaluation and observability
Practising with questions Question bank

Run the code

Every example is in system-design/code/. Run them all with one command.

python3 system-design/code/test_examples.py

Each file ends with assert lines. A passing file checks the direction of each claim in the lessons, such as consistent hashing moving only about 1/N of the keys. Run a file to see every quoted number printed.

The lessons

01

Foundations & framework

Read lesson →
02

Numbers, formulas and papers to know

Read lesson →
03

Traffic, caching, APIs and storage choice

Read lesson →
04

Core building blocks

Read lesson →
05

Distributed data and consistency

Read lesson →
06

Web-scale services

Read lesson →
07

Real-time systems

Read lesson →
08

Storage & sync

Read lesson →
09

Location & geo services

Read lesson →
10

Data infrastructure

Read lesson →
11

Transactional & financial systems

Read lesson →
12

ML system design: recommendations, ads and search

Read lesson →
13

GenAI and agent platforms

Read lesson →
14

Social and media systems

Read lesson →
15

Reliability and operations

Read lesson →
16

Question bank: 50 design questions mapped to the lessons

Read lesson →
📌

Recap & real-world examples

Read recap →