System Design Lab
Understand System Design by Seeing It in Action.
Explore distributed systems, design scalable architectures, and solve real-world engineering problems through interactive simulations.
- Modules
- 17
- Lessons planned
- 164
- Available now
- 164
- Price
- Free
A typical web architecture
Watch it run
A live, simplified simulation: requests arrive, queue and get served. Press play in any lab to change the settings yourself.
preview · the live simulation starts here
Interactive experiences
Learn by changing something and watching the system respond.
Failure Lab
Replay production incidents in a simulated system, then decide what to change.
- Cache Stampede
- Database Outage
- Queue Backlog
- +2 more
5 incident scenarios
Design Lab
Assemble load balancers, servers, caches, databases and queues, set their capacity and run it.
- Single Server
- Load Balanced Application
- Cached Application
- +2 more
5 starting designs
Interview practice
Worked system design interviews, from requirements to the trade-offs you would defend.
Calculators and patterns
Capacity and latency calculators, and a catalog of the patterns the lessons build on.
How the Lab teaches
Behaviour, not diagrams
Requests are simulated one by one. Queues fill, servers saturate, health checks notice failures late. What you see on screen is what the model computed.
Deterministic and replayable
The same settings always produce the same run, so you can step backwards, change one thing and compare.
Trade-offs stated
Every lesson covers when not to use an idea, how it fails in production and the misconceptions interviewers like to probe.
Open to everyone
No account, no paywall, no email required. Progress is saved for you automatically.
Pick a path
Suggested orders through the modules. Every lesson stays open, so skip whatever you already know.
System Design Beginner
Start here if terms like throughput, replica or cache-aside are new. Builds the intuition the rest relies on.
5 modules
Backend Engineer
What a backend engineer meets in production: scaling a service, its data, its queues, and keeping it observable and safe.
9 modules
Senior Software Engineer
Deeper data and failure topics: replication, consistency, resilience patterns and performance limits.
7 modules
Software Architect
Structure and trade-offs across services: architecture styles, microservices, consistency, security and infrastructure.
7 modules
System Design Interview Preparation
The building blocks interviewers expect, capacity estimation, then full case studies to practise on.
9 modules
AI Engineer
The infrastructure around models: scaling and caching basics, messaging, then RAG, agents, MCP and evaluation.
7 modules
The curriculum
From latency and load balancing to consensus, microservices and AI systems.

Module 01
System Design Fundamentals
The vocabulary every design conversation uses: requirements, latency, throughput, availability, reliability and scalability, and how they pull against each other.
Beginner8 lessons · 8 available

Module 02
Networking and Internet
What happens between a click and a response: addressing, name resolution, transport protocols, HTTP versions, long-lived connections and proxies.
Beginner10 lessons · 10 available

Module 03
Scaling and Load Balancing
Growing past one machine: bigger servers, more servers, and the algorithms that decide which server handles each request.
Beginner8 lessons · 8 available

Module 04
Database Fundamentals
How databases store, find and protect data: data models, indexes, transactions, isolation and the connection and query costs that dominate latency.
Intermediate10 lessons · 10 available

Module 05
Distributed Databases
Copying and splitting data across machines: replication modes, leaders, lag, sharding and quorums, with the consistency each one gives up.
Advanced10 lessons · 10 available

Module 06
Caching
Keeping hot data close: read and write strategies, eviction, invalidation, and what happens when many requests miss at once.
Intermediate8 lessons · 8 available

Module 07
Messaging and Event-Driven Systems
Decoupling work in time: queues, publish/subscribe, event streams, partitions, consumer groups, ordering and delivery guarantees.
Intermediate10 lessons · 10 available

Module 08
Distributed Systems
The hard part: partial failure, unreliable clocks and networks, consistency models, consensus and coordination between machines.
Advanced10 lessons · 10 available

Module 09
Reliability and Resilience
Staying up when dependencies fail: timeouts, retries with backoff, circuit breakers, bulkheads, rate limits, failover and recovery.
Intermediate10 lessons · 10 available

Module 10
Software Architecture
Organising code inside a service: layers, ports and adapters, vertical slices, modular monoliths, DDD, CQRS and event sourcing.
Intermediate10 lessons · 10 available

Module 11
Microservices
Splitting a system into services and keeping it consistent: boundaries, discovery, gateways, sagas, outbox and idempotent consumers.
Advanced10 lessons · 10 available

Module 12
Security and Identity
Who is calling and what they may do: sessions, tokens, OAuth 2.0, OpenID Connect, API protection, zero trust and secrets.
Intermediate8 lessons · 8 available

Module 13
Observability
Knowing what a running system is doing: logs, metrics, traces, OpenTelemetry, service level objectives and incident investigation.
Intermediate6 lessons · 6 available

Module 14
Cloud and Infrastructure
Where the software runs: virtual machines, containers, Kubernetes, regions and zones, CDNs, object storage and serverless.
Intermediate8 lessons · 8 available

Module 15
Performance Engineering
Finding and moving limits: capacity planning, bottlenecks, Little's Law, queueing, concurrency and load testing.
Advanced8 lessons · 8 available

Module 16
AI System Design
Building around language models: embeddings, vector search, RAG, agents, the Model Context Protocol, gateways, semantic caching and evaluation.
Advanced10 lessons · 10 available

Module 17
Real-World System Design
Whole systems end to end, as design exercises: requirements, estimates, architecture, scaling and failure handling.
Advanced20 lessons · 20 available
Questions
Is the System Design Lab free?
Yes. Every lesson, simulation and exercise is free, with no account, no trial and no payment.
Do I need to sign up?
No. Open any lesson and start. There is nothing to unlock.
How is my progress saved?
Your browser keeps your progress, and we also store it on our server under a salted hash of your network address (never the address itself), so it survives a cleared browser on the same network. People on the same network, such as an office, share that server record, and a new network starts a fresh one; your browser copies its own progress over when that happens.
Are the numbers in the simulations real benchmarks?
No. The simulations are simplified, deterministic models built to show behaviour: queues growing, failures being detected, load shifting. Each scenario lists its assumptions. Treat the numbers as illustrations, not measurements of any product.
What should I know before starting?
Basic programming and a rough idea of what a web server and a database do. The fundamentals module covers the rest.