Field notes from production
System design, explained like a mentor would.
Rate limits, retries, caches, queues, replicas. The ideas that keep real systems standing. Each one starts from the problem that made it necessary. You can watch it move in a simulation, run it in Python and JavaScript, and walk into the interview ready to explain it.
- topics published
- 11
- on the roadmap
- 137
- tracks
- 14
Who this is for
You can code. Nobody taught you production.
Section titled “You can code. Nobody taught you production.”You are in your final year of a CS degree, fresh out of a bootcamp, or a year or two into your first job. You can write Python or JavaScript, you know roughly what an HTTP request is, and you have created a database table or two. Then someone says “put a rate limiter in front of it” or “make that endpoint idempotent”, and everyone nods except you.
Every page here is written the way a patient senior engineer would explain it at your desk. We start with the problem that made people invent the thing, look at what people try first and why it breaks, then go deep on how it really works. No hand-waving, no assumed background beyond the basics, and every term is defined the first time it shows up.
Problem first
Every mechanism exists because something hurt. Each page opens with that moment, so you know why before you learn how.
See it move
Diagrams show the structure. Simulations let you change the numbers and watch queues fill, tokens drain and replicas fall behind.
Code that runs
Every snippet comes in Python and JavaScript, grows from naive to production-shaped, and has a runnable twin in the repository.
Ready for interviews
Each topic ends with typical interview questions, what a strong answer covers, and a short self-check with hidden answers.
Fresh from the notebook
Latest notes
Section titled “Latest notes”- CachingCaching Strategies
A cache is a smaller, faster copy of data that lives somewhere else. Every strategy is an answer to what happens when the two disagree, and what to throw away when it is full.
- Traffic & edgeLoad Balancing
Every balancer decides with a partial, slightly old view of the pool. The algorithms that work are the ones built for that.
- FoundationsLatency vs Throughput
Latency explodes long before a server is full. The reason is a queue you are not looking at.
One shape, every page
How to read a topic page
Section titled “How to read a topic page”Every topic follows the same shape, so after the first one you always know where you are. If a page lists topics under Read first, those are the ideas it builds on. Skim them if any feel unfamiliar; the page still makes sense without them, but it makes more sense with them.
The story
A realistic production moment that makes you feel the problem. It ends with the question the page answers.
The problem, properly
Why the problem exists at all, who it hurts, and the key terms, each defined the first time it appears.
The obvious fix, and why it breaks
What most people try first, and the neighbouring ideas it gets confused with.
The core idea
One everyday analogy, where that analogy stops working, and the overview diagram.
How it works
Each mechanism step by step, with numbers, diagrams and a simulation you can drive. Then a side-by-side comparison and code you build yourself.
The real world
How well-known systems do it, sourced war stories, the trade-offs, and when not to use it.
Check yourself
Interview questions, a quiz with hidden answers, a recap to revise from, and where to go next.
The curriculum
The tracks
Section titled “The tracks”The curriculum is split into fourteen tracks. Within a track, topics are in reading order, and each dot is one topic: filled once it is published.
- 01Foundations
What Happens When You Type a URL · Back-of-the-envelope estimation · Latency vs Throughput …
2 of 5 published
- 02Networking & APIs
DNS · TCP vs UDP · TLS and Encryption in Transit …
4 of 13 published
- 03Traffic & edge
Reverse proxies · Load Balancing · API gateways …
2 of 7 published
- 04Databases
SQL vs NoSQL · ACID and isolation levels · Database indexing (scan vs seek) …
15 topics planned
- 05Caching
Caching Strategies · Cache invalidation · Cache stampede (thundering herd) …
1 of 5 published
- 06Distributed systems
CAP and PACELC · Consistency models · Eventual consistency …
14 topics planned
- 07Messaging & async
Message queues · Pub/Sub · Event-driven architecture …
11 topics planned
- 08Resilience
Timeouts · Retries, exponential backoff and jitter · Circuit breakers …
1 of 12 published
- 09Security
Authentication vs authorization · Storing passwords safely · Sessions vs tokens …
14 topics planned
- 10Performance & runtime
Scaling up vs scaling out · Autoscaling · Concurrency and thread safety …
8 topics planned
- 11Delivery & infrastructure
Docker and containers · Kubernetes · Helm charts …
10 topics planned
- 12Observability & operations
Observability: the big picture · Logging · Metrics and monitoring …
8 topics planned
- 13AI-era systems
Model Context Protocol (MCP): the big picture · MCP authorization: OAuth 2.1, DCR and CIMD · Retrieval-augmented generation (RAG) …
6 topics planned
- 14Case studies
Design a URL shortener · Design a rate limiter service · Design a notification system …
1 of 9 published
Start here
The starter path
Section titled “The starter path”New to all of this? Read these twenty in order. Together they cover the ideas that come up in almost every production system and almost every system design interview.
- What Happens When You Type a URLFoundations
- DNSNetworking & APIs
- TCP vs UDPNetworking & APIs
- TLS and Encryption in TransitNetworking & APIs
- REST API DesignNetworking & APIs
- Latency vs ThroughputFoundations
- Load BalancingTraffic & edge
- Caching StrategiesCaching
- Database indexing (scan vs seek) soonDatabases
- Connection pooling soonDatabases
- N+1 queries soonDatabases
- Timeouts soonResilience
- Retries, exponential backoff and jitter soonResilience
- Idempotency keys soonMessaging & async
- Rate LimitingResilience
- Circuit breakers soonResilience
- Message queues soonMessaging & async
- Replication soonDatabases
- Logging soonObservability & operations
- SLIs, SLOs and error budgets soonObservability & operations
Senior Dev Notes
System design, explained like a mentor would.
Written by Uday. Every page is researched, reviewed by a human, and every code example was run before it was published.