Understand big systems.Ace the interview.
Free written lessons, interactive labs and company guides for system design, distributed systems and big-tech interviews.
- Free, no sign-up
- Every C# sample compiled and tested
Pick your path. Skip the pile of lessons.
Each path is a short route through the same lessons, in the order that pays off first. Your progress is saved in this browser, with no account.
- 13 lessons · 4 stages
New to system design
Students, new graduates and engineers who have not done a design round yet.
- See the whole game
- The building blocks
- Your first full designs
- Tell your story
- 20 lessons · 4 stages
Interview in 4 to 6 weeks
Working engineers with a loop on the calendar.
- Plan the weeks
- Core building blocks
- The classic designs
- Behavioral and rehearsal
- 30 lessons · 6 stages
Senior and staff depth
Engineers who know the basics and are aiming at a senior, staff or principal bar.
- Recalibrate the bar
- What breaks at scale
- Under the hood
- Measure and operate it
- Designs where failure costs money
- The senior conversation
System design you can break with one click.
Reading about a hot shard is one thing. Flip the switch below and watch one go cold.
Three shards. Two idle. The site is down.
One customer is having a flash sale. Shard 3 is refusing 27% of its requests while the cluster is only 70% busy. Change one thing: the shard key.
Open the full sharding labhash(tenant_id)17% refusedThe same systems, drawn and animated.
A new video every week: one system built on screen, one failure at a time. Most have a lesson or a lab here to go with them.
11 minSystem Design for Beginners: 20 Concepts Explained (opens on YouTube in a new tab)One small app grows from one user to ten million, and each thing that breaks introduces one concept.
12 minRate Limiter System Design: Why a Limit of 3 Lets 9 Through (opens on YouTube in a new tab)Per-server counters, shared state in Redis, and what to do when the limiter itself goes down.
10 minWhy Prime Video Ditched Microservices — Saved 90% (opens on YouTube in a new tab)A video-quality monitoring tool that hit a cost and scaling wall as a serverless pipeline, rebuilt as one process.
Preparing for a specific company?
Company guidesWhich company next? Tell me where you are interviewing, and I will look at what it publishes.
How I think about system design.
Five rules that hold whether a system is being built, reviewed or explained. Every lesson and lab here is written to them.
- Rule 01
Understand it before you optimize it.
Most performance problems are comprehension problems. Draw the system, trace the request, then touch the code.
- Rule 02
Complexity doesn't disappear. It moves.
Every simplification is a transfer. Know where the cost landed, and who pays it.
- Rule 03
Every abstraction has a cost.
It hides the detail until the day the detail matters. Know what you are standing on.
- Rule 04
Design for failure, not the happy path.
Networks partition, queues back up, dependencies lie. Plan for the day it happens, not the day it is demoed.
- Rule 05
If you can't explain the bottleneck, you don't understand it yet.
Explaining is a debugging tool. It is also why this site exists.