Learn system design one step at a time — and explain it in English.
Each lesson is a story: a system under pressure, a diagram that changes with every step, and the exact phrases to use in your interview.
The Interview
How a system design interview works and how to run it in English.
Foundations
Requests, latency and the napkin math behind every design.
How a Request Travels
From typing a URL to seeing a page: DNS, handshakes, HTTP, your servers, and where every millisecond goes.
Latency and Throughput
Two different ways to measure speed, why busy systems get slow, and why the average lies.
Napkin Math
Estimate traffic, storage, bandwidth, cache and servers in your head, the way interviewers expect.
Scaling
From one server to many: load balancers, statelessness, caches and CDNs.
Vertical vs Horizontal Scaling
Bigger machine or more machines? The two ways to handle growth, and when each one breaks.
Load Balancing
One front door for many servers — and the rules for who gets each request.
Stateless Services
Keep user data out of your servers so any server can handle any request, and any server can disappear.
Caching
Keep popular answers in fast memory so the database does less work, and learn the bugs that come with it.
Content Delivery Networks
Put copies of your files close to your users, so far-away visitors get fast pages and your servers stay calm.
Data & Storage
Choosing databases, indexing, replicating and sharding data.
SQL vs NoSQL
Tables or documents? Pick a database by how you read and write data, not by what is trendy.
Database Indexes
How a database finds one row among millions without reading them all.
Replication
Keep copies of your data on several machines: survive failures and serve more reads.
Sharding & Consistent Hashing
Split one huge database into many smaller ones, and add machines without moving everything.
CAP & Consistency
What happens to your data when the network between two data centers breaks.
Communication
APIs, queues, events and real-time connections.
REST, gRPC & GraphQL
Three ways for programs to talk to each other, and how to pick the right one.
Message Queues & Events
Put a queue between services so slow or broken work cannot block the user.
Real-time: Polling, SSE & WebSockets
How a server can tell the browser something new right now, and how to scale it.
Reliability
Protect your system: rate limits, timeouts, retries and circuit breakers.
Architecture
Monoliths, microservices and the gateways in between.
Frontend at Scale
Rendering strategies and performance for React and Next.js apps.
AI Systems
RAG pipelines and running LLM features in production.
Case Studies
Full interview-style designs, from requirements to deep dives.
Design a URL Shortener
From requirements to a read-heavy, cached, abuse-aware design with click analytics.
Design a Chat System
Real-time 1:1 and group messaging: stateful connections, ordering, offline delivery and presence.
Design a News Feed
Fan-out on write vs on read, the celebrity problem, and a hybrid feed that scales.