The free shelf
Try a topic. Then go deeper.
Everything listed here opens without a payment or an account. Pick a topic, read a lesson, then run an experiment or answer a drill where one is available.
- 24
- Free lessons
- 6
- Docker labs
- 34
- Vault drills
- 7
- Browser tools
Browser tools need no install. Docker labs need a laptop with Docker. Not sure where to begin? Start with the site map, or see everything, locked items included.
AI systems & RAG
Start AI Systems & All About RAG for free
All About RAG: From Naive Pipelines to Distributed Architecture
Interactive architecture diagrams, Banking/RBI failure incidents, and deterministic Python labs covering chunking, HNSW quantization, hybrid RRF, query transformations, and reranking.
Free AI Systems Lessons (6)
Curriculum preview →79 matching resources. An item can belong to more than one topic.
Concept 01
Foundations
Start with requests, capacity and the shape of a service.
3 lessons · 2 labs · 5 free · Open the Foundations page →
Lesson
- What System Design Actually IsLesson
Free 16 min read - The 30 Must-Know ConceptsLesson
Free 14 min read - Latency vs Throughput vs BandwidthLesson
Free 14 min read
Lab
- Docker Basics: Images, Containers, Ports & VolumesLab
Free Laptop + Docker - Docker Compose Basics: Two Containers, One FileLab
Free Laptop + Docker
Concept 02
Networking and traffic
Follow a request from the client to the service.
2 lessons · 1 simulator · 1 incident · 4 free · Open the Networking and traffic page →
Lesson
- How the Internet Actually WorksLesson
Free 16 min read - Load Balancing 101Lesson
Free 15 min read
Simulator
- Interactive Traffic SandboxSimulator
Free Browser, no install
Incident
- One Server DownIncident
Free Browser, no install
Concept 03
APIs and communication
Design the contract between clients and services, then pick how they talk.
1 lesson · 1 vault drill · 2 free · Open the APIs and communication page →
Lesson
- Structured Outputs and Tool CallingLesson
Free 23 min read
Vault drill
- Why Does Page 500 Slow Down the Database, and How Do You Fix It?Vault drill
Free 14 min read
Concept 04
Load balancing
Share requests across servers without sending traffic to a broken one.
1 lesson · 1 incident · 2 free · Open the Load balancing page →
Lesson
- Load Balancing 101Lesson
Free 15 min read
Incident
- One Server DownIncident
Free Browser, no install
Concept 05
Caching
Reuse an answer, then decide how long it can be wrong.
1 lesson · 1 simulator · 1 design problem · 7 vault drills · 10 free · Open the Caching page →
Lesson
- Cache Invalidation & StampedeLesson
Free 19 min read
Simulator
- Interactive Traffic SandboxSimulator
Free Browser, no install
Design problem
- Design Distributed Rate Limiter (API Gateway Throttling)Design problem
Free 59 min read
Vault drill
- How to Stop Two Users from Booking the Same Seat Without Locking the Whole TableVault drill
Free 14 min read - How to Cut LLM Costs and Rate-Limit Teams with an AI GatewayVault drill
Free 15 min read - Design a Virtual Waiting Room and Ticket Queue for 10 Million UsersVault drill
Free 16 min read - How to Serve Live Video to 50M Viewers Without Crashing the OriginVault drill
Free 15 min read - How to Log Out a Compromised User When Using Stateless JWTsVault drill
Free 14 min read - Why Your RAG Assistant Misses Exact Clauses and How to Fix ItVault drill
Free 16 min read - Redis Crashes Under Peak Load (100,000 RPS)Vault drill
Free 14 min read
Concept 06
Databases
Choose how data is stored, queried and changed.
1 lesson · 2 labs · 5 vault drills · 2 incidents · 10 free · Open the Databases page →
Lesson
- CAP Theorem & Consistency ModelsLesson
Free 21 min read
Lab
- PostgreSQL Streaming Replication Lag and Read-Your-Own-WritesLab
Free Laptop + Docker - Tatkal / BookMyShow High-Concurrency Seat Hold RaceLab
Free Laptop + Docker
Vault drill
- How to Stop Two Users from Booking the Same Seat Without Locking the Whole TableVault drill
Free 14 min read - Why PostgreSQL Tables Bloat and How UUIDv7 Fixes Slow InsertsVault drill
Free 15 min read - How to Run Database Migrations with Zero Downtime on a 100M-Row TableVault drill
Free 15 min read - Why PostgreSQL Connections Are Expensive and How PgBouncer Fixes ItVault drill
Free 15 min read - PostgreSQL Primary Crashes at Peak Traffic with an Async ReplicaVault drill
Free 14 min read
Incident
- The Connection Pool SqueezeIncident
Free Browser, no install - The Double-Booked BerthIncident
Free Browser, no install
Concept 08
Replication
Keep copies of data and account for the lag between them.
1 lab · 1 free · Open the Replication page →
Lab
- PostgreSQL Streaming Replication Lag and Read-Your-Own-WritesLab
Free Laptop + Docker
Concept 09
Sharding
Split data across machines and plan for uneven traffic.
1 lesson · 1 free · Open the Sharding page →
Lesson
- Consistent HashingLesson
Free 15 min read
Concept 10
Consistency
Decide what readers can see while writes are still spreading.
1 lesson · 1 design problem · 1 vault drill · 1 incident · 4 free · Open the Consistency page →
Lesson
- CAP Theorem & Consistency ModelsLesson
Free 21 min read
Design problem
- Design Inventory Reservation for Quick Commerce (No Overselling)Design problem
Free 30 min read
Vault drill
- Why PostgreSQL Tables Bloat and How UUIDv7 Fixes Slow InsertsVault drill
Free 15 min read
Incident
- The Double-Booked BerthIncident
Free Browser, no install
Concept 11
Distributed systems
Reason about time, failure and agreement when machines cannot trust each other.
1 lesson · 7 vault drills · 8 free · Open the Distributed systems page →
Lesson
- Consistent HashingLesson
Free 15 min read
Vault drill
- How to Stop Two Users from Booking the Same Seat Without Locking the Whole TableVault drill
Free 14 min read - Design a Virtual Waiting Room and Ticket Queue for 10 Million UsersVault drill
Free 16 min read - Design a UPI Switch That Handles Bank Timeouts Without Paying TwiceVault drill
Free 16 min read - How to Serve Live Video to 50M Viewers Without Crashing the OriginVault drill
Free 15 min read - How to Route Users and Handle Conflicting Writes Across Two RegionsVault drill
Free 16 min read - Why an Idempotent Producer Is Not Enough for Exactly-Once in KafkaVault drill
Free 16 min read - PostgreSQL Primary Crashes at Peak Traffic with an Async ReplicaVault drill
Free 14 min read
Concept 12
Runtime design and concurrency
Keep shared state correct when work overlaps.
1 design problem · 10 vault drills · 1 incident · 12 free · Open the Runtime design and concurrency page →
Design problem
- Design Inventory Reservation for Quick Commerce (No Overselling)Design problem
Free 30 min read
Vault drill
- How to Stop Two Users from Booking the Same Seat Without Locking the Whole TableVault drill
Free 14 min read - How to Combine Retries and Circuit Breakers Without Doubling LoadVault drill
Free 14 min read - Why Wrapping Modern ORMs in a Generic Repository Ruins PerformanceVault drill
Free 13 min read - Design a Virtual Waiting Room and Ticket Queue for 10 Million UsersVault drill
Free 16 min read - Design a UPI Switch That Handles Bank Timeouts Without Paying TwiceVault drill
Free 16 min read - How to Serve Live Video to 50M Viewers Without Crashing the OriginVault drill
Free 15 min read - Design an API Rate Limiter with Token Bucket and Sliding WindowVault drill
Free 15 min read - All Tests Pass, but Duplicate Orders Still Appear in Production. Why?Vault drill
Free 12 min read
See all 10 vault drills on the topic page →
Incident
- The Double-Booked BerthIncident
Free Browser, no install
Concept 13
Queues and streams
Move work between services without assuming it runs only once.
5 vault drills · 1 incident · 6 free · Open the Queues and streams page →
Vault drill
- Why Kafka Can Handle Millions of Writes Per Second on Standard DisksVault drill
Free 16 min read - Which Module Do You Extract First from a Monolith Without Downtime?Vault drill
Free 14 min read - How to Verify and Ingest Payment Webhook Bursts Without DuplicatesVault drill
Free 14 min read - How to Save to the Database and Publish to Kafka Without Losing EventsVault drill
Free 15 min read - Why an Idempotent Producer Is Not Enough for Exactly-Once in KafkaVault drill
Free 16 min read
Incident
- The Order That Lost Its EventIncident
Free Browser, no install
Concept 14
Rate limiting
Limit incoming work before it exhausts the service.
1 lesson · 1 design problem · 2 vault drills · 4 free · Open the Rate limiting page →
Lesson
- Design a Rate Limiter (LLD)Lesson
Free 19 min read
Design problem
- Design Distributed Rate Limiter (API Gateway Throttling)Design problem
Free 59 min read
Vault drill
- How to Cut LLM Costs and Rate-Limit Teams with an AI GatewayVault drill
Free 15 min read - Design an API Rate Limiter with Token Bucket and Sliding WindowVault drill
Free 15 min read
Concept 15
Idempotency
Let a retry repeat the request, not the side effect.
3 vault drills · 1 incident · 4 free · Open the Idempotency page →
Vault drill
- Design a Virtual Waiting Room and Ticket Queue for 10 Million UsersVault drill
Free 16 min read - Design a UPI Switch That Handles Bank Timeouts Without Paying TwiceVault drill
Free 16 min read - Why an Idempotent Producer Is Not Enough for Exactly-Once in KafkaVault drill
Free 16 min read
Incident
- The Order That Lost Its EventIncident
Free Browser, no install
Concept 16
Resilience
Contain a failure instead of letting it spread.
3 lessons · 2 labs · 1 simulator · 3 vault drills · 1 incident · 10 free · Open the Resilience page →
Lesson
- Scalability vs Availability vs ReliabilityLesson
Free 15 min read - Resilience PatternsLesson
Free 17 min read - Circuit BreakersLesson
Free 25 min read
Lab
- Latency, Percentiles & The Saturation Knee (k6 & Python)Lab
Free Laptop + Docker - Tatkal / BookMyShow High-Concurrency Seat Hold RaceLab
Free Laptop + Docker
Simulator
- Incident ArenaSimulator
Free Browser, no install
Vault drill
- Redis Crashes Under Peak Load (100,000 RPS)Vault drill
Free 14 min read - PostgreSQL Primary Crashes at Peak Traffic with an Async ReplicaVault drill
Free 14 min read - Kubernetes Pods Keep Getting OOMKilled After a Release With Low CPUVault drill
Free 14 min read
Incident
- One Server DownIncident
Free Browser, no install
Concept 17
Scaling
Find the bottleneck before adding machines.
2 lessons · 1 incident · 3 free · Open the Scaling page →
Lesson
- Scalability vs Availability vs ReliabilityLesson
Free 15 min read - Latency vs Throughput vs BandwidthLesson
Free 14 min read
Incident
- The Connection Pool SqueezeIncident
Free Browser, no install
Concept 18
Observability
Use evidence to explain what a running system is doing.
1 simulator · 1 free · Open the Observability page →
Simulator
- Incident ArenaSimulator
Free Browser, no install
Concept 19
Cloud and orchestration
Run services across machines and manage their resource limits.
1 lab · 4 vault drills · 5 free · Open the Cloud and orchestration page →
Lab
- Your First Cluster: Pods, Deployments, Self-HealingLab
Free Laptop + Docker
Vault drill
- How Cross-Zone Traffic and NAT Gateways Drain Your Cloud BudgetVault drill
Free 14 min read - How to Estimate System Capacity in 2 Minutes on a WhiteboardVault drill
Free 14 min read - How to Route Users and Handle Conflicting Writes Across Two RegionsVault drill
Free 16 min read - Kubernetes Pods Keep Getting OOMKilled After a Release With Low CPUVault drill
Free 14 min read
Concept 20
Security and identity
Check who is calling and what they are allowed to do.
3 vault drills · 3 free · Open the Security and identity page →
Vault drill
- Where Should Authorization Rules Live in a Microservices System?Vault drill
Free 15 min read - How to Log Out a Compromised User When Using Stateless JWTsVault drill
Free 14 min read - How Microservices Prove Their Identity to Each Other Using mTLSVault drill
Free 16 min read
Concept 21
AI systems
Put model calls inside systems with explicit limits and checks.
6 lessons · 3 vault drills · 9 free · Open the AI systems page →
Lesson
- What an LLM Actually IsLesson
Free 39 min read - Structured Outputs and Tool CallingLesson
Free 23 min read - Why RAG Exists: Fine Tune Versus RetrieveLesson
Free 32 min read - What an Agent Actually Is: Loop, Tools, Memory, StopLesson
Free 23 min read - The AI System Design Interview FrameworkLesson
Free 18 min read - Sahayak Capstone: Build MilestonesLesson
Free 18 min read
Vault drill
- How Temporal Uses Deterministic Replay to Resume Multi-Step WorkflowsVault drill
Free 16 min read - How to Cut LLM Costs and Rate-Limit Teams with an AI GatewayVault drill
Free 15 min read - Why Your RAG Assistant Misses Exact Clauses and How to Fix ItVault drill
Free 16 min read
Concept 22
Architecture and design reviews
Explain a design choice against the constraints that matter.
1 lesson · 6 vault drills · 7 free · Open the Architecture and design reviews page →
Lesson
- Interview Framework & Pattern LibraryLesson
Free 19 min read
Vault drill
- Which Module Do You Extract First from a Monolith Without Downtime?Vault drill
Free 14 min read - What to Do When Two Senior Leads Refuse to Agree on a Technical DesignVault drill
Free 14 min read - How to Lead a Sev-1 Call and Update Executives When Production Is DownVault drill
Free 15 min read - Why Does Page 500 Slow Down the Database, and How Do You Fix It?Vault drill
Free 14 min read - How to Verify and Ingest Payment Webhook Bursts Without DuplicatesVault drill
Free 14 min read - Should We Build In-House or Buy a SaaS Tool? Calculating 3-Year CostVault drill
Free 15 min read
Concept 23
Low level design
Turn a requirement into classes, patterns and code that survives change.
5 lessons · 5 free · Open the Low level design page →
Lesson
- Thinking in Objects, Not BoxesLesson
Free 18 min read - What a Class Is Actually ForLesson
Free 16 min read - Class Diagrams Without the UML PoliceLesson
Free 16 min read - Finding the Objects in the PromptLesson
Free 16 min read - Design a Rate Limiter (LLD)Lesson
Free 19 min read
Concept 24
Data structures and algorithms
Recognise the pattern behind a coding problem before you write the loop.
1 lesson · 1 simulator · 6 decision guides · 8 free · Open the Data structures and algorithms page →
Lesson
- Pattern: kill the inner loopLesson
Free 13 min read
Simulator
- Play: DSA pattern practiceSimulator
Free Browser, no install
Decision guide
- Backtracking vs Dynamic ProgrammingDecision guide
Free - Breadth-First Search vs Depth-First SearchDecision guide
Free - Greedy vs Dynamic ProgrammingDecision guide
Free - Interval Greedy: Sort by Start vs Sort by EndDecision guide
Free - Sliding Window vs Prefix Sum + HashDecision guide
Free - Two Pointers vs Sliding WindowDecision guide
Free
Storage
PostgreSQL
Explore PostgreSQL through its related concepts.
Related concepts: Databases
1 lab · 5 vault drills · 1 incident · 7 free · Open the PostgreSQL page →
Lab
- PostgreSQL Streaming Replication Lag and Read-Your-Own-WritesLab
Free Laptop + Docker
Vault drill
- How to Stop Two Users from Booking the Same Seat Without Locking the Whole TableVault drill
Free 14 min read - Why PostgreSQL Tables Bloat and How UUIDv7 Fixes Slow InsertsVault drill
Free 15 min read - How to Run Database Migrations with Zero Downtime on a 100M-Row TableVault drill
Free 15 min read - Why PostgreSQL Connections Are Expensive and How PgBouncer Fixes ItVault drill
Free 15 min read - PostgreSQL Primary Crashes at Peak Traffic with an Async ReplicaVault drill
Free 14 min read
Incident
- The Connection Pool SqueezeIncident
Free Browser, no install
Caching
Redis
Explore Redis through its related concepts.
Related concepts: Caching
1 design problem · 4 vault drills · 5 free · Open the Redis page →
Design problem
- Design Distributed Rate Limiter (API Gateway Throttling)Design problem
Free 59 min read
Vault drill
- How to Stop Two Users from Booking the Same Seat Without Locking the Whole TableVault drill
Free 14 min read - Design a Virtual Waiting Room and Ticket Queue for 10 Million UsersVault drill
Free 16 min read - How to Log Out a Compromised User When Using Stateless JWTsVault drill
Free 14 min read - Redis Crashes Under Peak Load (100,000 RPS)Vault drill
Free 14 min read
Messaging
Kafka
Explore Kafka through its related concepts.
Related concepts: Queues and streams
5 vault drills · 1 incident · 6 free · Open the Kafka page →
Vault drill
- Why Kafka Can Handle Millions of Writes Per Second on Standard DisksVault drill
Free 16 min read - Which Module Do You Extract First from a Monolith Without Downtime?Vault drill
Free 14 min read - How to Verify and Ingest Payment Webhook Bursts Without DuplicatesVault drill
Free 14 min read - How to Save to the Database and Publish to Kafka Without Losing EventsVault drill
Free 15 min read - Why an Idempotent Producer Is Not Enough for Exactly-Once in KafkaVault drill
Free 16 min read
Incident
- The Order That Lost Its EventIncident
Free Browser, no install
Edge
Nginx
Explore Nginx through its related concepts.
Related concepts: Networking and trafficLoad balancing
1 incident · 1 free · Open the Nginx page →
Incident
- One Server DownIncident
Free Browser, no install
Infrastructure
Docker
Explore Docker through its related concepts.
Related concepts: Foundations
2 labs · 2 free · Open the Docker page →
Lab
- Docker Basics: Images, Containers, Ports & VolumesLab
Free Laptop + Docker - Docker Compose Basics: Two Containers, One FileLab
Free Laptop + Docker
Infrastructure
Kubernetes
Explore Kubernetes through its related concepts.
Related concepts: Cloud and orchestration
1 lab · 2 vault drills · 3 free · Open the Kubernetes page →
Lab
- Your First Cluster: Pods, Deployments, Self-HealingLab
Free Laptop + Docker
Vault drill
- How Cross-Zone Traffic and NAT Gateways Drain Your Cloud BudgetVault drill
Free 14 min read - Kubernetes Pods Keep Getting OOMKilled After a Release With Low CPUVault drill
Free 14 min read