The topic index
One idea. Every way in.
Pick the idea you are working on. Find a lesson to read, a lab to run or a drill to defend. Lessons, notes, labs, drills and incidents are all mapped to a topic.
24 concepts · 10 technologies · 685 linked resources
Each topic shows a short list per format. Open the topic page for every item and what to read first. For the complete course order, use the curriculum. Only want what is free? See the free shelf.
685 matching resources. An item can belong to more than one topic.
Concept 01
Foundations
Start with requests, capacity and the shape of a service.
6 lessons · 1 note · 3 labs · 5 free · Open the Foundations page →
Lesson
- What System Design Actually IsLesson
Free 16 min read - The Client-Server ArchitectureLesson
Locked 11 min read - The 30 Must-Know ConceptsLesson
Free 14 min read - Types of System Design QuestionsLesson
Locked 12 min read - Latency vs Throughput vs BandwidthLesson
Free 14 min read - Back-of-the-Envelope EstimationLesson
Locked 30 min read
Note
- Capacity Estimation and System SizingNote
Locked 20 min read
Lab
- Docker Basics: Images, Containers, Ports & VolumesLab
Free Laptop + Docker - Docker Compose Basics: Two Containers, One FileLab
Free Laptop + Docker - Docker Compose in Practice: Healthchecks, Restarts & VolumesLab
Locked Laptop + Docker
Concept 02
Networking and traffic
Follow a request from the client to the service.
11 lessons · 2 notes · 19 labs · 1 simulator · 1 design problem · 1 vault drill · 1 incident · 4 free · Open the Networking and traffic page →
Lesson
- The Client-Server ArchitectureLesson
Locked 11 min read - How the Internet Actually WorksLesson
Free 16 min read - OSI Model: L4 vs L7Lesson
Locked 14 min read - IP, DNS & HTTP/HTTPSLesson
Locked 16 min read - TCP vs UDPLesson
Locked 13 min read - OS I/O: epoll vs io_uringLesson
Locked 24 min read - ChecksumsLesson
Locked 11 min read - Proxy vs Reverse ProxyLesson
Locked 12 min read
See all 11 lessons on the topic page →
Note
- Load Balancers and the Hash RingNote
Locked 20 min read - DNS, CDN and Reverse ProxiesNote
Locked 20 min read
Lab
- HTTP Caching Headers & DNS Resolution MechanicsLab
Locked Laptop + Docker - Nginx Basics: Serve Files, Proxy to an App, Read the Logs, Reload SafelyLab
Locked Laptop + Docker - Nginx Load Balancer: Round-Robin, Least-Connections & FailoverLab
Locked Laptop + Docker - Timeouts, Retries, Exponential Backoff & ToxiproxyLab
Locked Laptop + Docker - Edge Reverse Proxy & CDN Cache-ControlLab
Locked Laptop + Docker - JWT and Auth Basics: Tokens, Signatures, 401 vs 403Lab
Locked Laptop + Docker - API Gateway: Edge JWT Authentication, Routing & Distributed Rate LimitingLab
Locked Laptop + Docker - Full-Stack URL Shortener Sandbox, Base62 & Write-Back AnalyticsLab
Locked Laptop + Docker
See all 19 labs on the topic page →
Simulator
- Interactive Traffic SandboxSimulator
Free Browser, no install
Design problem
- Design a Video Streaming Platform (Upload, Transcode, Play)Design problem
Locked 46 min read
Vault drill
- When to Replace NGINX Ingress with Envoy Gateway or a Service MeshVault drill
Locked 15 min read
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.
12 lessons · 1 note · 3 labs · 2 simulators · 3 design problems · 6 vault drills · 2 free · Open the APIs and communication page →
Lesson
- Introduction to APIs (REST & JSON)Lesson
Locked 12 min read - API ContractsLesson
Locked 12 min read - Data Formats: JSON, Protobuf, AvroLesson
Locked 12 min read - IdempotencyLesson
Locked 12 min read - REST, Designed ProperlyLesson
Locked 13 min read - GraphQL and gRPCLesson
Locked 12 min read - API Gateways & Rate LimitingLesson
Locked 13 min read - Authentication & Authorization Deep DiveLesson
Locked 16 min read
See all 12 lessons on the topic page →
Note
- API Contract and Data ModelNote
Locked 20 min read
Lab
- Pagination at Scale: LIMIT/OFFSET vs Keyset CursorLab
Locked Laptop + Docker - GraphQL Under Pressure: N+1 Database Explosion & Query Depth Attack DefenseLab
Locked Laptop + Docker - Real-Time Protocols: WebSockets vs SSE & Reconnect Storm MitigationLab
Locked Laptop + Docker
Simulator
- API Styles, One Food OrderSimulator
Locked 15 min readBrowser, no install - Chat Message Flow, Step by StepSimulator
Locked 12 min readBrowser, no install
Design problem
- Design a Chat App (Real-Time Messaging at Scale)Design problem
Locked 38 min read - Design a Collaborative Document Editor (Merge, Offline, Presence)Design problem
Locked 33 min read - Design a Ride Hailing App (Rider, Driver and Dispatch)Design problem
Locked 48 min read
Vault drill
- Why Does Page 500 Slow Down the Database, and How Do You Fix It?Vault drill
Free 14 min read - Why One GraphQL Query Triggered 300 Database Calls and How to Fix ItVault drill
Locked 14 min read - Why Rendering 2,000 Seats in SVG Freezes the Browser and How Canvas Fixes ItVault drill
Locked 14 min read - How to Stop Deeply Nested GraphQL Queries from Crashing Your BackendVault drill
Locked 15 min read - How to Split a Giant GraphQL Schema into Subgraphs Across 10 TeamsVault drill
Locked 21 min read - Design Real-Time Chat Like WhatsApp for 50M WebSocketsVault drill
Locked 15 min read
Concept 04
Load balancing
Share requests across servers without sending traffic to a broken one.
4 lessons · 1 note · 4 labs · 2 vault drills · 1 incident · 2 free · Open the Load balancing page →
Lesson
- Proxy vs Reverse ProxyLesson
Locked 12 min read - Load Balancing 101Lesson
Free 15 min read - DNS Load Balancing & AnycastLesson
Locked 13 min read - Sticky SessionsLesson
Locked 13 min read
Note
- Load Balancers and the Hash RingNote
Locked 20 min read
Lab
- Nginx Basics: Serve Files, Proxy to an App, Read the Logs, Reload SafelyLab
Locked Laptop + Docker - Nginx Load Balancer: Round-Robin, Least-Connections & FailoverLab
Locked Laptop + Docker - gRPC Load Balancing: L4 Connection Pinning vs L7 Stream MultiplexingLab
Locked Laptop + Docker - Services and Load BalancingLab
Locked Laptop + Docker
Vault drill
- Why Kubernetes Sends All Your gRPC Traffic to Just One PodVault drill
Locked 13 min read - When to Replace NGINX Ingress with Envoy Gateway or a Service MeshVault drill
Locked 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.
10 lessons · 4 notes · 13 labs · 1 simulator · 7 design problems · 38 vault drills · 10 free · Open the Caching page →
Lesson
- Caching PatternsLesson
Locked 15 min read - Caching Strategies: Cache-Aside & Write-ThroughLesson
Locked 12 min read - Eviction PoliciesLesson
Locked 17 min read - CDN & Edge ComputingLesson
Locked 19 min read - Distributed Cache ArchitectureLesson
Locked 18 min read - Redis Deep Dive: Data Structures & EvictionLesson
Locked 21 min read - Cache Invalidation & StampedeLesson
Free 19 min read - Bloom Filters & Probabilistic Data StructuresLesson
Locked 18 min read
See all 10 lessons on the topic page →
Note
- DNS, CDN and Reverse ProxiesNote
Locked 20 min read - Caching StrategiesNote
Locked 20 min read - Redis Field GuideNote
Locked 24 min read - Redis and Search Command ReferenceNote
Locked 26 min read
Lab
- HTTP Caching Headers & DNS Resolution MechanicsLab
Locked Laptop + Docker - Redis Basics: Every Command You Need Before Any Redis LabLab
Locked Laptop + Docker - Lua in Redis: Atomic Scripts Explained from ZeroLab
Locked Laptop + Docker - Edge Reverse Proxy & CDN Cache-ControlLab
Locked Laptop + Docker - Redis Cache-Aside Pattern, Invalidation & Memory EvictionLab
Locked Laptop + Docker - Real-Time Leaderboard with Redis Sorted SetsLab
Locked Laptop + Docker - Cache Stampede, Mutex Locks & Single-Flight Request CoalescingLab
Locked Laptop + Docker - Bloom Filter Cache Penetration ShieldLab
Locked Laptop + Docker
See all 13 labs on the topic page →
Simulator
- Interactive Traffic SandboxSimulator
Free Browser, no install
Design problem
- Design Distributed Rate Limiter (API Gateway Throttling)Design problem
Free 59 min read - Design a News Feed (Social Timeline at Scale)Design problem
Locked 45 min read - Design a Live Leaderboard (Fantasy Cricket Contest)Design problem
Locked 45 min read - Design a URL Shortener (Bitly Style)Design problem
Locked 42 min read - Design a Distributed Cache (Redis or Memcached Style)Design problem
Locked 49 min read - Design Search Autocomplete (Typeahead Suggestions)Design problem
Locked 48 min read - How an Ecommerce Platform Grows to 100 Million UsersDesign problem
Locked 45 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 Stop 10,000 Requests from Hitting the Database When a Cache Key ExpiresVault drill
Locked 16 min read - How to Cut LLM Costs and Rate-Limit Teams with an AI GatewayVault drill
Free 15 min read - What to Do When 80% of Your Traffic Hits a Single Cache KeyVault drill
Locked 14 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 Track Dark-Store Inventory When Hundreds of Orders Hit at OnceVault drill
Locked 16 min read - How to Log Out a Compromised User When Using Stateless JWTsVault drill
Free 14 min read
Concept 06
Databases
Choose how data is stored, queried and changed.
21 lessons · 7 notes · 28 labs · 7 design problems · 27 vault drills · 2 incidents · 10 free · Open the Databases page →
Lesson
- CAP Theorem & Consistency ModelsLesson
Free 21 min read - CDC (Change Data Capture)Lesson
Locked 8 min read - What is a Database?Lesson
Locked 17 min read - SQL vs NoSQL (Honest)Lesson
Locked 16 min read - ACID & Isolation LevelsLesson
Locked 15 min read - Database Types TourLesson
Locked 15 min read - DB Internals: B-Tree vs LSMLesson
Locked 17 min read - WAL & DurabilityLesson
Locked 17 min read
See all 21 lessons on the topic page →
Note
- API Contract and Data ModelNote
Locked 20 min read - SQL vs NoSQL Without the ReligionNote
Locked 17 min read - Database Types Field GuideNote
Locked 28 min read - Distributed Unique ID Generation at ScaleNote
Locked 17 min read - Partitioning and ShardingNote
Locked 20 min read - Redis and Search Command ReferenceNote
Locked 26 min read - Search From the Ground UpNote
Locked 24 min read
Lab
- SQL Basics with PostgreSQL: Tables, Queries & JoinsLab
Locked Laptop + Docker - SQL Transaction Isolation Levels & Concurrency AnomaliesLab
Locked Laptop + Docker - Database Indexing, Query Optimization & Slow Query ProfilingLab
Locked Laptop + Docker - Pagination at Scale: LIMIT/OFFSET vs Keyset CursorLab
Locked Laptop + Docker - Full-Stack URL Shortener Sandbox, Base62 & Write-Back AnalyticsLab
Locked Laptop + Docker - PostgreSQL Streaming Replication Lag and Read-Your-Own-WritesLab
Free Laptop + Docker - PostgreSQL Synchronous vs Asynchronous Replication TradeoffsLab
Locked Laptop + Docker - Consistent Hashing Ring with Virtual NodesLab
Locked Laptop + Docker
See all 28 labs on the topic page →
Design problem
- Design a Hotel Reservation System (Dates, Holds, Overbooking)Design problem
Locked 30 min read - Design a URL Shortener (Bitly Style)Design problem
Locked 42 min read - Design Search Autocomplete (Typeahead Suggestions)Design problem
Locked 48 min read - Design a Maps and Navigation System (Tiles, Routes, Live Traffic)Design problem
Locked 31 min read - Geo Indexing Field Guide (Geohash, Quadtree, S2, H3 Interactive)Design problem
Locked 33 min read - Design Document Q&A with RAG (Ingestion, Vectors, Citations)Design problem
Locked 45 min read - Design AI Search for E-Commerce (Hybrid Retrieval, Code-Mixed)Design problem
Locked 44 min read
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 - Stream Live Postgres Changes to ClickHouse Without Hurting ProductionVault drill
Locked 15 min read - How to Stop Double Charges When a User Double-Taps Pay NowVault drill
Locked 15 min read - Schema per Tenant or Shared Tables for 10,000 Customers on PostgresVault drill
Locked 15 min read - How to Run Database Migrations with Zero Downtime on a 100M-Row TableVault drill
Free 15 min read - Why High-Write Systems Switch from B+ Trees to LSM TreesVault drill
Locked 15 min read - How to Model Users and Orders in a Single DynamoDB TableVault drill
Locked 14 min read
See all 27 vault drills on the topic page →
Incident
- The Connection Pool SqueezeIncident
Free Browser, no install - The Double-Booked BerthIncident
Free Browser, no install
Concept 07
Storage
Choose between block, file and object storage for the data that is not a table.
5 lessons · 1 design problem · 0 free · Open the Storage page →
Lesson
- Block, File, and Object StorageLesson
Locked 21 min read - Object Storage & Blob StorageLesson
Locked 25 min read - Distributed File SystemsLesson
Locked 16 min read - Data Lakes, Warehouses, and LakehousesLesson
Locked 18 min read - Lambda Vs Kappa ArchitectureLesson
Locked 20 min read
Design problem
- Design a Video Streaming Platform (Upload, Transcode, Play)Design problem
Locked 46 min read
Concept 08
Replication
Keep copies of data and account for the lag between them.
1 lesson · 1 note · 3 labs · 2 vault drills · 1 free · Open the Replication page →
Lesson
- Database ReplicationLesson
Locked 19 min read
Note
- Replication and Leader ElectionNote
Locked 22 min read
Lab
- PostgreSQL Streaming Replication Lag and Read-Your-Own-WritesLab
Free Laptop + Docker - PostgreSQL Synchronous vs Asynchronous Replication TradeoffsLab
Locked Laptop + Docker - Raft Consensus Algorithm: Leader Election & Log ReplicationLab
Locked Laptop + Docker
Vault drill
- How to Prevent Stale Reads on Replicas and Protect Primary DisksVault drill
Locked 16 min read - Read Replica Falls 12 Seconds Behind Primary During a Traffic SpikeVault drill
Locked 14 min read
Concept 09
Sharding
Split data across machines and plan for uneven traffic.
4 lessons · 2 notes · 1 lab · 1 design problem · 5 vault drills · 1 free · Open the Sharding page →
Lesson
- Consistent HashingLesson
Free 15 min read - Scaling Writes & ShardingLesson
Locked 21 min read - Database ShardingLesson
Locked 13 min read - Data Partitioning StrategiesLesson
Locked 15 min read
Note
- Partitioning and ShardingNote
Locked 20 min read - Consistent Hashing and Virtual Nodes from ScratchNote
Locked 18 min read
Lab
- Database Horizontal Sharding & Online ReshardingLab
Locked Laptop + Docker
Design problem
- Geo Indexing Field Guide (Geohash, Quadtree, S2, H3 Interactive)Design problem
Locked 33 min read
Vault drill
- How to Pick a Shard Key and Add Shards Without Moving Most DataVault drill
Locked 16 min read - Design a Double-Entry Wallet Ledger That Prevents DeadlocksVault drill
Locked 15 min read - One Hot Key Gets 40% of Traffic and Pins a Single Redis Shard at 100%Vault drill
Locked 14 min read - Your Users Table Hit 500 Million Rows. How Do You Scale It?Vault drill
Locked 16 min read - What Can a Client Read While a Key-Value Store Moves a Shard?Vault drill
Locked 8 min read
Concept 10
Consistency
Decide what readers can see while writes are still spreading.
5 lessons · 3 notes · 6 labs · 4 design problems · 9 vault drills · 1 incident · 4 free · Open the Consistency page →
Lesson
- CAP Theorem & Consistency ModelsLesson
Free 21 min read - Consistency ModelsLesson
Locked 14 min read - ACID & Isolation LevelsLesson
Locked 15 min read - Network Partitions & Split BrainLesson
Locked 17 min read - Distributed TransactionsLesson
Locked 20 min read
Note
- CAP and Consistency, HonestlyNote
Locked 16 min read - Transactional OutboxNote
Locked 20 min read - Distributed Transactions and SagasNote
Locked 20 min read
Lab
- SQL Transaction Isolation Levels & Concurrency AnomaliesLab
Locked Laptop + Docker - PostgreSQL MVCC Dead Tuple Bloat & Long-Running Transaction FreezingLab
Locked Laptop + Docker - Distributed Caching: Two-Tier L1/L2 Cache Invalidation & ConsistencyLab
Locked Laptop + Docker - Kafka Dead Letter Queue & Poison Pill IsolationLab
Locked Laptop + Docker - Circuit Breaker & Thread Bulkhead IsolationLab
Locked Laptop + Docker - Tunable Consistency: Quorum Reads, Writes & Read Repair (Cassandra Style)Lab
Locked Laptop + Docker
Design problem
- Design an Instant Payments Network (UPI Style)Design problem
Locked 34 min read - Design a Stock Exchange Matching Engine (Price-Time, Replay, Fairness)Design problem
Locked 30 min read - Design Inventory Reservation for Quick Commerce (No Overselling)Design problem
Free 30 min read - Design a Collaborative Document Editor (Merge, Offline, Presence)Design problem
Locked 33 min read
Vault drill
- Why PostgreSQL Tables Bloat and How UUIDv7 Fixes Slow InsertsVault drill
Free 15 min read - How etcd Prevents Split-Brain During Leader ElectionVault drill
Locked 16 min read - How to Prevent Stale Reads on Replicas and Protect Primary DisksVault drill
Locked 16 min read - How Apache Iceberg Gives Data Lakes ACID Writes Without Table LocksVault drill
Locked 15 min read - How to Contain Outage Blast Radius Using Cell-Based ArchitectureVault drill
Locked 15 min read - Why SELECT FOR UPDATE on a Missing Row Freezes Inserts in MySQL InnoDBVault drill
Locked 14 min read - The Cache and Database Disagree on a Customer's Wallet BalanceVault drill
Locked 14 min read - What Can a Client Read While a Key-Value Store Moves a Shard?Vault drill
Locked 8 min read
See all 9 vault drills on the topic page →
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.
9 lessons · 6 notes · 4 labs · 1 design problem · 30 vault drills · 8 free · Open the Distributed systems page →
Lesson
- Consistent HashingLesson
Free 15 min read - Fallacies of Distributed ComputingLesson
Locked 28 min read - Network Partitions & Split BrainLesson
Locked 17 min read - Heartbeats & Failure DetectionLesson
Locked 20 min read - Time & OrderingLesson
Locked 17 min read - Consensus AlgorithmsLesson
Locked 24 min read - Leader Election & Distributed CoordinationLesson
Locked 23 min read - Distributed LocksLesson
Locked 23 min read
See all 9 lessons on the topic page →
Note
- Distributed Unique ID Generation at ScaleNote
Locked 17 min read - Replication and Leader ElectionNote
Locked 22 min read - Consistent Hashing and Virtual Nodes from ScratchNote
Locked 18 min read - Distributed Transactions and SagasNote
Locked 20 min read - Optimistic vs Pessimistic LockingNote
Locked 20 min read - Designing a Resilient Distributed Job SchedulerNote
Locked 19 min read
Lab
- API Idempotency Key Engine & Distributed LockingLab
Locked Laptop + Docker - Distributed Lock Fencing Tokens & Lease ExpirationLab
Locked Laptop + Docker - Redis Sentinel Quorum Failover and Split-Brain PreventionLab
Locked Laptop + Docker - Raft Consensus Algorithm: Leader Election & Log ReplicationLab
Locked Laptop + Docker
Design problem
- Design a Distributed Job Scheduler (On Time, Once, Recoverable)Design problem
Locked 42 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 Stop 10,000 Requests from Hitting the Database When a Cache Key ExpiresVault drill
Locked 16 min read - How to Stop Double Charges When a User Double-Taps Pay NowVault drill
Locked 15 min read - What to Do When 80% of Your Traffic Hits a Single Cache KeyVault drill
Locked 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 Track Dark-Store Inventory When Hundreds of Orders Hit at OnceVault drill
Locked 16 min read
Concept 12
Runtime design and concurrency
Keep shared state correct when work overlaps.
3 lessons · 2 notes · 1 simulator · 4 design problems · 62 vault drills · 1 incident · 12 free · Open the Runtime design and concurrency page →
Lesson
- Distributed LocksLesson
Locked 23 min read - Concurrency for LLD, Part 1Lesson
Locked 16 min read - Concurrency for LLD, Part 2Lesson
Locked 16 min read
Note
- Design BookMyShow / IRCTC (Seat Reservation)Note
Locked 69 min read - Optimistic vs Pessimistic LockingNote
Locked 20 min read
Simulator
- Seat Hold SimulatorSimulator
Locked 12 min readBrowser, no install
Design problem
- Design a Hotel Reservation System (Dates, Holds, Overbooking)Design problem
Locked 30 min read - Design a Stock Exchange Matching Engine (Price-Time, Replay, Fairness)Design problem
Locked 30 min read - Design Inventory Reservation for Quick Commerce (No Overselling)Design problem
Free 30 min read - Design IRCTC Train Booking (Route-Segments, RAC, Waitlist, Charting)Design problem
Locked 45 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 Stop 10,000 Requests from Hitting the Database When a Cache Key ExpiresVault drill
Locked 16 min read - How to Stop Double Charges When a User Double-Taps Pay NowVault drill
Locked 15 min read - What to Do When 80% of Your Traffic Hits a Single Cache KeyVault drill
Locked 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
See all 62 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.
11 lessons · 5 notes · 14 labs · 1 simulator · 8 design problems · 26 vault drills · 1 incident · 6 free · Open the Queues and streams page →
Lesson
- Async Patterns & Message QueuesLesson
Locked 15 min read - Message Queues Deep DiveLesson
Locked 12 min read - Delivery SemanticsLesson
Locked 7 min read - Dead Letter QueuesLesson
Locked 8 min read - CDC (Change Data Capture)Lesson
Locked 8 min read - Batch vs Stream ProcessingLesson
Locked 20 min read - Event-Driven ArchitectureLesson
Locked 18 min read - CQRS PatternLesson
Locked 12 min read
See all 11 lessons on the topic page →
Note
- Kafka, Explained With SlidersNote
Locked 22 min read - Kafka Hands-on LabNote
Locked 40 min read - Transactional OutboxNote
Locked 20 min read - Design Live Comments (Hotstar / JioCinema Match Chat)Note
Locked 46 min read - Designing a Resilient Distributed Job SchedulerNote
Locked 19 min read
Lab
- Queue Basics: Your First Queue, Acknowledgements and Duplicate MessagesLab
Locked Laptop + Docker - RabbitMQ Competing Consumers Queue, Prefetch QoS & Dead Letter ExchangesLab
Locked Laptop + Docker - Distributed Background Job Queue, Worker Concurrency & Exponential BackoffLab
Locked Laptop + Docker - Kafka Fundamentals in KRaft Mode: Partitions, Consumer Groups & Offset ReplayLab
Locked Laptop + Docker - Kafka Consumer Groups, Offset Commit Semantics & Lag MonitoringLab
Locked Laptop + Docker - Kafka Consumer Group Partition Rebalancing and Pod EvictionLab
Locked Laptop + Docker - Kafka Dead Letter Queue & Poison Pill IsolationLab
Locked Laptop + Docker - Kafka Hot-Key Partition Skew & Salting MitigationLab
Locked Laptop + Docker
See all 14 labs on the topic page →
Simulator
- Chat Message Flow, Step by StepSimulator
Locked 12 min readBrowser, no install
Design problem
- Design Notification System (Push, SMS, Email at Scale)Design problem
Locked 42 min read - Design a Reliable Webhook Delivery SystemDesign problem
Locked 47 min read - Design a Web Crawler (Polite, Deduplicated, at Scale)Design problem
Locked 43 min read - Design an Online Judge (Run Untrusted Code Safely)Design problem
Locked 30 min read - Design a Chat App (Real-Time Messaging at Scale)Design problem
Locked 38 min read - Design an Ad Click Aggregator (Count, Bill, Pace)Design problem
Locked 30 min read - Design a Log Aggregation Platform (Search, Retention, Cost)Design problem
Locked 48 min read - Design a Distributed Job Scheduler (On Time, Once, Recoverable)Design problem
Locked 42 min read
Vault drill
- Why Kafka Can Handle Millions of Writes Per Second on Standard DisksVault drill
Free 16 min read - Stream Live Postgres Changes to ClickHouse Without Hurting ProductionVault drill
Locked 15 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 - How to Fix Kafka Consumer Lag When One Partition Falls BehindVault drill
Locked 16 min read - Why an Idempotent Producer Is Not Enough for Exactly-Once in KafkaVault drill
Free 16 min read - How to Move Data Out of a Monolith Database Without DowntimeVault drill
Locked 16 min read
See all 26 vault drills on the topic page →
Incident
- The Order That Lost Its EventIncident
Free Browser, no install
Concept 14
Rate limiting
Limit incoming work before it exhausts the service.
3 lessons · 2 labs · 2 design problems · 7 vault drills · 4 free · Open the Rate limiting page →
Lesson
- API Gateways & Rate LimitingLesson
Locked 13 min read - Design a Rate Limiter (LLD)Lesson
Free 19 min read - Rate Limits, Quotas and BackpressureLesson
Locked 20 min read
Lab
- API Gateway: Edge JWT Authentication, Routing & Distributed Rate LimitingLab
Locked Laptop + Docker - Distributed Token Bucket Rate Limiter with Redis LuaLab
Locked Laptop + Docker
Design problem
- Design Distributed Rate Limiter (API Gateway Throttling)Design problem
Free 59 min read - Design a Multi-Model AI Gateway (Routing, Quotas, Cost Controls)Design problem
Locked 45 min read
Vault drill
- How to Cut LLM Costs and Rate-Limit Teams with an AI GatewayVault drill
Free 15 min read - How to Fix Kafka Consumer Lag When One Partition Falls BehindVault drill
Locked 16 min read - How to Build a Distributed Rate Limiter That Does Not Overload RedisVault drill
Locked 15 min read - Which Rate Limiting Algorithm Should You Pick for an API Gateway?Vault drill
Locked 15 min read - How to Stop Attackers from Spoofing X-Forwarded-For Behind CloudflareVault drill
Locked 19 min read - Design an API Rate Limiter with Token Bucket and Sliding WindowVault drill
Free 15 min read - Sending 10 Million Push Notifications in 5 Minutes Without Taking Down CheckoutVault drill
Locked 15 min read
Concept 15
Idempotency
Let a retry repeat the request, not the side effect.
2 lessons · 1 note · 2 labs · 2 design problems · 10 vault drills · 1 incident · 4 free · Open the Idempotency page →
Lesson
- IdempotencyLesson
Locked 12 min read - Delivery SemanticsLesson
Locked 7 min read
Note
- Idempotency in PracticeNote
Locked 22 min read
Lab
- API Idempotency Key Engine & Distributed LockingLab
Locked Laptop + Docker - UPI Payment System Capstone: Idempotency, Outbox, Sagas & ReconciliationsLab
Locked Laptop + Docker
Design problem
- Design a Payment Gateway (Pay, Settle, Reconcile)Design problem
Locked 53 min read - Design an Instant Payments Network (UPI Style)Design problem
Locked 34 min read
Vault drill
- How to Stop Double Charges When a User Double-Taps Pay NowVault drill
Locked 15 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 Roll Back Distributed Transactions Using the Saga PatternVault drill
Locked 16 min read - Why an Idempotent Producer Is Not Enough for Exactly-Once in KafkaVault drill
Free 16 min read - Duplicate Orders Created Despite the Client Sending Only One RequestVault drill
Locked 14 min read - How Do You Stop an AI Agent from Getting Stuck in a Tool Loop?Vault drill
Locked 15 min read - How Do You Build a Short-Link Service for Campaigns?Vault drill
Locked 15 min read
See all 10 vault drills on the topic page →
Incident
- The Order That Lost Its EventIncident
Free Browser, no install
Concept 16
Resilience
Contain a failure instead of letting it spread.
9 lessons · 20 labs · 1 simulator · 1 design problem · 33 vault drills · 1 incident · 10 free · Open the Resilience page →
Lesson
- Scalability vs Availability vs ReliabilityLesson
Free 15 min read - Single Point of Failure (SPOF)Lesson
Locked 14 min read - Dead Letter QueuesLesson
Locked 8 min read - Heartbeats & Failure DetectionLesson
Locked 20 min read - Resilience PatternsLesson
Free 17 min read - Circuit BreakersLesson
Free 25 min read - Durable Execution for Long Running AgentsLesson
Locked 20 min read - Fallback and Multi Provider RoutingLesson
Locked 25 min read
See all 9 lessons on the topic page →
Lab
- Docker Compose in Practice: Healthchecks, Restarts & VolumesLab
Locked Laptop + Docker - Race Conditions & Locks: Your First Concurrency BugLab
Locked Laptop + Docker - Latency, Percentiles & The Saturation Knee (k6 & Python)Lab
Free Laptop + Docker - Timeouts, Retries, Exponential Backoff & ToxiproxyLab
Locked Laptop + Docker - Cache Stampede, Mutex Locks & Single-Flight Request CoalescingLab
Locked Laptop + Docker - Distributed Token Bucket Rate Limiter with Redis LuaLab
Locked Laptop + Docker - API Idempotency Key Engine & Distributed LockingLab
Locked Laptop + Docker - Circuit Breaker & Thread Bulkhead IsolationLab
Locked Laptop + Docker
See all 20 labs on the topic page →
Simulator
- Incident ArenaSimulator
Free Browser, no install
Design problem
- Design a Reliable Webhook Delivery SystemDesign problem
Locked 47 min read
Vault drill
- Redis Crashes Under Peak Load (100,000 RPS)Vault drill
Free 14 min read - We Added Redis, but API p99 Latency Got Worse With Redis CPU at 10%Vault drill
Locked 14 min read - 2GB of Logical Data Is Consuming 10GB of RAM in RedisVault drill
Locked 14 min read - One Hot Key Gets 40% of Traffic and Pins a Single Redis Shard at 100%Vault drill
Locked 14 min read - The Cache and Database Disagree on a Customer's Wallet BalanceVault drill
Locked 14 min read - Duplicate Orders Created Despite the Client Sending Only One RequestVault drill
Locked 14 min read - PostgreSQL Primary Crashes at Peak Traffic with an Async ReplicaVault drill
Free 14 min read - Database Connection Pool Exhausted While DB CPU Is Only 15%Vault drill
Locked 14 min read
See all 33 vault drills on the topic page →
Incident
- One Server DownIncident
Free Browser, no install
Concept 17
Scaling
Find the bottleneck before adding machines.
13 lessons · 2 notes · 2 labs · 9 design problems · 1 incident · 3 free · Open the Scaling page →
Lesson
- Scalability vs Availability vs ReliabilityLesson
Free 15 min read - What is Scalability?Lesson
Locked 13 min read - Latency vs Throughput vs BandwidthLesson
Free 14 min read - Scaling Reads & IndexingLesson
Locked 19 min read - Database Connection PoolingLesson
Locked 25 min read - Horizontal vs Vertical ScalingLesson
Locked 25 min read - Geo Family: Geohash, Quad Trees, R-Trees & H3Lesson
Locked 18 min read - Bloom Filters & Probabilistic Data StructuresLesson
Locked 18 min read
See all 13 lessons on the topic page →
Note
- Capacity Estimation and System SizingNote
Locked 20 min read - Design Live Comments (Hotstar / JioCinema Match Chat)Note
Locked 46 min read
Lab
- Database Scaling: pgBouncer Session vs Transaction Pooling ModesLab
Locked Laptop + Docker - Distributed Caching: Two-Tier L1/L2 Cache Invalidation & ConsistencyLab
Locked Laptop + Docker
Design problem
- Design a Real-Time Fraud Detection Engine for PaymentsDesign problem
Locked 34 min read - Design a Web Crawler (Polite, Deduplicated, at Scale)Design problem
Locked 43 min read - Design a News Feed (Social Timeline at Scale)Design problem
Locked 45 min read - Design an Ad Click Aggregator (Count, Bill, Pace)Design problem
Locked 30 min read - Design a Maps and Navigation System (Tiles, Routes, Live Traffic)Design problem
Locked 31 min read - Design a Ride Hailing App (Rider, Driver and Dispatch)Design problem
Locked 48 min read - How an Ecommerce Platform Grows to 100 Million UsersDesign problem
Locked 45 min read - Design IRCTC Train Booking (Route-Segments, RAC, Waitlist, Charting)Design problem
Locked 45 min read
See all 9 design problems on the topic page →
Incident
- The Connection Pool SqueezeIncident
Free Browser, no install
Concept 18
Observability
Use evidence to explain what a running system is doing.
6 lessons · 1 lab · 1 simulator · 1 design problem · 4 vault drills · 1 free · Open the Observability page →
Lesson
- Observability and MonitoringLesson
Locked 28 min read - Capacity Planning and Load TestingLesson
Locked 25 min read - Alerting and DashboardsLesson
Locked 19 min read - Observability for LLM Systems: Traces, Spans, What to LogLesson
Locked 20 min read - Latency Budgets and Streaming UXLesson
Locked 20 min read - SLOs And Error Budgets, Now That The Model Can Be WrongLesson
Locked 18 min read
Lab
- Logs, Metrics and Traces: Three Ways to Find What Is SlowLab
Locked Laptop + Docker
Simulator
- Incident ArenaSimulator
Free Browser, no install
Design problem
- Design a Log Aggregation Platform (Search, Retention, Cost)Design problem
Locked 48 min read
Vault drill
- How to Cut Your Tracing Bill by 80% Without Losing Error TracesVault drill
Locked 15 min read - How Canary Releases Automatically Roll Back When Error Rates SpikeVault drill
Locked 14 min read - Stop False-Alarm Pagers by Alerting on User Pain Instead of CPU SpikesVault drill
Locked 15 min read - How to Link Async Queue Workers Back to the Original User ClickVault drill
Locked 14 min read
Concept 19
Cloud and orchestration
Run services across machines and manage their resource limits.
3 lessons · 6 labs · 32 vault drills · 5 free · Open the Cloud and orchestration page →
Lesson
- CI/CD PipelinesLesson
Locked 17 min read - Deployments and RollbacksLesson
Locked 23 min read - Schema MigrationsLesson
Locked 22 min read
Lab
- Your First Cluster: Pods, Deployments, Self-HealingLab
Free Laptop + Docker - Services and Load BalancingLab
Locked Laptop + Docker - Readiness, Liveness and Startup ProbesLab
Locked Laptop + Docker - Rolling Updates, Rollbacks and Graceful ShutdownLab
Locked Laptop + Docker - Resources and Autoscaling Under LoadLab
Locked Laptop + Docker - Node Failure: The Tatkal CapstoneLab
Locked Laptop + Docker
Vault drill
- How Cross-Zone Traffic and NAT Gateways Drain Your Cloud BudgetVault drill
Free 14 min read - Why Kubernetes Sends All Your gRPC Traffic to Just One PodVault drill
Locked 13 min read - How to Cut Your Tracing Bill by 80% Without Losing Error TracesVault drill
Locked 15 min read - How to Estimate System Capacity in 2 Minutes on a WhiteboardVault drill
Free 14 min read - How Canary Releases Automatically Roll Back When Error Rates SpikeVault drill
Locked 14 min read - Stop False-Alarm Pagers by Alerting on User Pain Instead of CPU SpikesVault drill
Locked 15 min read - How to Route Users and Handle Conflicting Writes Across Two RegionsVault drill
Free 16 min read - Why Users See 502 Bad Gateway During Deployments and How to Fix ItVault drill
Locked 14 min read
Concept 20
Security and identity
Check who is calling and what they are allowed to do.
8 lessons · 1 design problem · 9 vault drills · 3 free · Open the Security and identity page →
Lesson
- Authentication & Authorization Deep DiveLesson
Locked 16 min read - Security: TLS, Secrets & RBACLesson
Locked 18 min read - Zero Trust: Workload Identity, SPIFFE/SPIRE & SecretsLesson
Locked 21 min read - DPDP Architecture: India's DPDP Rules, Consent Ledgers & Data ShreddingLesson
Locked 24 min read - Prompt Injection and JailbreaksLesson
Locked 24 min read - PII, Data Residency and India's DPDP ActLesson
Locked 26 min read - Guardrails and Output ValidationLesson
Locked 18 min read - The Lethal Trifecta: Prompt Injection Meets ToolsLesson
Locked 18 min read
Design problem
- Design a Multi-Tenant SaaS Platform (Isolation, Fairness, Cells)Design problem
Locked 31 min read
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 - Why Authenticator App Codes Can Be Phished and How Passkeys Stop ItVault drill
Locked 15 min read - Why JWT Algorithm Bugs Happen and How PASETO Fixes ThemVault drill
Locked 15 min read - How to Stop Attackers from Spoofing X-Forwarded-For Behind CloudflareVault drill
Locked 19 min read - Where Should You Store Auth Tokens in Web and Mobile Apps?Vault drill
Locked 20 min read - Design a Fine-Grained Authorization System Like Google ZanzibarVault drill
Locked 15 min read
Concept 21
AI systems
Put model calls inside systems with explicit limits and checks.
68 lessons · 6 design problems · 18 vault drills · 9 free · Open the AI systems page →
Lesson
- What an LLM Actually IsLesson
Free 39 min read - Tokens, Context Windows, and Unit CostLesson
Locked 35 min read - Inference Latency, Throughput, and StreamingLesson
Locked 33 min read - Prompts Are an API Contract, Not Magic WordsLesson
Locked 24 min read - Structured Outputs and Tool CallingLesson
Free 23 min read - Choosing a Model: Hosted, Open Weights, or Fine TunedLesson
Locked 35 min read - Non Determinism: The Thing That Breaks Your TestsLesson
Locked 22 min read - Multimodal Inputs: What Changes When It Is Not TextLesson
Locked 22 min read
See all 68 lessons on the topic page →
Design problem
- Design a ChatGPT-Style Assistant (Streaming, SSE, Conversations)Design problem
Locked 43 min read - Design Document Q&A with RAG (Ingestion, Vectors, Citations)Design problem
Locked 45 min read - Design an AI Agent Platform (Workflows, Tools, Durable State)Design problem
Locked 42 min read - Design a Multi-Model AI Gateway (Routing, Quotas, Cost Controls)Design problem
Locked 45 min read - Design a Recommendation System (Two-Tower, Candidate Gen, Ranking)Design problem
Locked 44 min read - Design AI Search for E-Commerce (Hybrid Retrieval, Code-Mixed)Design problem
Locked 44 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 - How to Give AI Agents Tools via MCP Without Breaking ProductionVault drill
Locked 16 min read - Design a Multi-Agent System with ReAct Loops and Human SafeguardsVault drill
Locked 15 min read - How Do You Stop Indirect Prompt Injection from Hijacking an AI Agent?Vault drill
Locked 15 min read - How to Scale Vector Search to 50 Million Items Without Running Out of RAMVault drill
Locked 15 min read - How Do You Catch LLM Regressions Before Deploying a Model Upgrade?Vault drill
Locked 14 min read
Concept 22
Architecture and design reviews
Explain a design choice against the constraints that matter.
23 lessons · 2 notes · 7 design problems · 35 vault drills · 7 free · Open the Architecture and design reviews page →
Lesson
- Big Tradeoffs RevisionLesson
Locked 21 min read - Horizontal vs Vertical ScalingLesson
Locked 25 min read - Monolith vs MicroservicesLesson
Locked 21 min read - Architectural PatternsLesson
Locked 20 min read - Design a Real-Time Turn-Based Gaming & Chess Platform (Chess.com / Lichess Style)Lesson
Locked 22 min read - Design Real-Time Fitness Tracking and Geospatial Telemetry (Strava Style)Lesson
Locked 22 min read - API Gateway and Service DiscoveryLesson
Locked 21 min read - Sidecar, Strangler Fig & Service MeshLesson
Locked 17 min read
See all 23 lessons on the topic page →
Note
- Running a Design InterviewNote
Locked 17 min read - Design BookMyShow / IRCTC (Seat Reservation)Note
Locked 69 min read
Design problem
- Design Notification System (Push, SMS, Email at Scale)Design problem
Locked 42 min read - Design a Payment Gateway (Pay, Settle, Reconcile)Design problem
Locked 53 min read - Design a Real-Time Fraud Detection Engine for PaymentsDesign problem
Locked 34 min read - Design a Multi-Tenant SaaS Platform (Isolation, Fairness, Cells)Design problem
Locked 31 min read - Design a Feature Flag Service (Instant Kill Switch, Safe Rollouts)Design problem
Locked 29 min read - Design an Online Judge (Run Untrusted Code Safely)Design problem
Locked 30 min read - Decompose a Monolith into Microservices (The Production Migration Blueprint)Design problem
Locked 45 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 - How to Negotiate an Impossible Deadline Without Saying a Flat 'No'Vault drill
Locked 14 min read - Why Does Page 500 Slow Down the Database, and How Do You Fix It?Vault drill
Free 14 min read - How to Stop Silent Overwrites Without Locking the DatabaseVault drill
Locked 14 min read - Why One GraphQL Query Triggered 300 Database Calls and How to Fix ItVault drill
Locked 14 min read - How to Verify and Ingest Payment Webhook Bursts Without DuplicatesVault drill
Free 14 min read
Concept 23
Low level design
Turn a requirement into classes, patterns and code that survives change.
22 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 - The 5-step LLD FrameworkLesson
Locked 22 min read - OOP Without the Textbook FogLesson
Locked 20 min read - SOLID Applied, Not SlidesLesson
Locked 21 min read - Creational Patterns That Actually Show UpLesson
Locked 21 min read
Concept 24
Data structures and algorithms
Recognise the pattern behind a coding problem before you write the loop.
112 lessons · 1 simulator · 6 decision guides · 8 free · Open the Data structures and algorithms page →
Lesson
- Pattern: kill the inner loopLesson
Free 13 min read - Contains DuplicateLesson
Locked 8 min read - Best Time to Buy and Sell StockLesson
Locked 9 min read - Two SumLesson
Locked 8 min read - Valid AnagramLesson
Locked 8 min read - Group AnagramsLesson
Locked 8 min read - Pattern: two pointersLesson
Locked 18 min read - Valid PalindromeLesson
Locked 9 min read
See all 112 lessons on the topic page →
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
7 labs · 18 vault drills · 1 incident · 7 free · Open the PostgreSQL page →
Lab
- SQL Basics with PostgreSQL: Tables, Queries & JoinsLab
Locked Laptop + Docker - PostgreSQL Streaming Replication Lag and Read-Your-Own-WritesLab
Free Laptop + Docker - PostgreSQL Synchronous vs Asynchronous Replication TradeoffsLab
Locked Laptop + Docker - PostgreSQL MVCC Dead Tuple Bloat & Long-Running Transaction FreezingLab
Locked Laptop + Docker - Spatial Proximity & Dispatch: Redis GEO vs PostgreSQL PostGISLab
Locked Laptop + Docker - Transactional Outbox Pattern & Polling Relay (PostgreSQL SKIP LOCKED)Lab
Locked Laptop + Docker - Change Data Capture (CDC) with PostgreSQL WAL Logical DecodingLab
Locked 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 - Stream Live Postgres Changes to ClickHouse Without Hurting ProductionVault drill
Locked 15 min read - How to Stop Double Charges When a User Double-Taps Pay NowVault drill
Locked 15 min read - Schema per Tenant or Shared Tables for 10,000 Customers on PostgresVault drill
Locked 15 min read - How to Run Database Migrations with Zero Downtime on a 100M-Row TableVault drill
Free 15 min read - Why High-Write Systems Switch from B+ Trees to LSM TreesVault drill
Locked 15 min read - Why PostgreSQL Connections Are Expensive and How PgBouncer Fixes ItVault drill
Free 15 min read
See all 18 vault drills on the topic page →
Incident
- The Connection Pool SqueezeIncident
Free Browser, no install
Storage
MySQL
Explore MySQL through its related concepts.
Related concepts: Databases
1 vault drill · 0 free · Open the MySQL page →
Vault drill
- Why SELECT FOR UPDATE on a Missing Row Freezes Inserts in MySQL InnoDBVault drill
Locked 14 min read
Storage
MongoDB
Explore MongoDB through its related concepts.
Related concepts: Databases
1 vault drill · 0 free · Open the MongoDB page →
Vault drill
- When Can You Just Use PostgreSQL JSONB Instead of Buying MongoDB?Vault drill
Locked 15 min read
Storage
Elasticsearch
Explore Elasticsearch through its related concepts.
Related concepts: Databases
1 note · 1 lab · 1 vault drill · 0 free · Open the Elasticsearch page →
Note
- Search From the Ground UpNote
Locked 24 min read
Lab
- Elasticsearch Near-Real-Time Search, Lucene Segments & RefreshLab
Locked Laptop + Docker
Vault drill
- Why Does Searching for "Laptop" Take 4 Seconds in Elasticsearch?Vault drill
Locked 15 min read
Caching
Redis
Explore Redis through its related concepts.
Related concepts: Caching
1 lesson · 2 notes · 7 labs · 3 design problems · 24 vault drills · 5 free · Open the Redis page →
Lesson
- Redis Deep Dive: Data Structures & EvictionLesson
Locked 21 min read
Note
- Redis Field GuideNote
Locked 24 min read - Redis and Search Command ReferenceNote
Locked 26 min read
Lab
- Redis Basics: Every Command You Need Before Any Redis LabLab
Locked Laptop + Docker - Lua in Redis: Atomic Scripts Explained from ZeroLab
Locked Laptop + Docker - Redis Cache-Aside Pattern, Invalidation & Memory EvictionLab
Locked Laptop + Docker - Real-Time Leaderboard with Redis Sorted SetsLab
Locked Laptop + Docker - Distributed Token Bucket Rate Limiter with Redis LuaLab
Locked Laptop + Docker - Spatial Proximity & Dispatch: Redis GEO vs PostgreSQL PostGISLab
Locked Laptop + Docker - Redis Sentinel Quorum Failover and Split-Brain PreventionLab
Locked Laptop + Docker
Design problem
- Design Distributed Rate Limiter (API Gateway Throttling)Design problem
Free 59 min read - Design a Live Leaderboard (Fantasy Cricket Contest)Design problem
Locked 45 min read - Design a Distributed Cache (Redis or Memcached Style)Design problem
Locked 49 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 Stop 10,000 Requests from Hitting the Database When a Cache Key ExpiresVault drill
Locked 16 min read - What to Do When 80% of Your Traffic Hits a Single Cache KeyVault drill
Locked 14 min read - Design a Virtual Waiting Room and Ticket Queue for 10 Million UsersVault drill
Free 16 min read - How to Track Dark-Store Inventory When Hundreds of Orders Hit at OnceVault drill
Locked 16 min read - How to Log Out a Compromised User When Using Stateless JWTsVault drill
Free 14 min read - How to Track Millions of Moving Cars and Find the Nearest DriverVault drill
Locked 16 min read - How to Build a Distributed Rate Limiter That Does Not Overload RedisVault drill
Locked 15 min read
Messaging
Kafka
Explore Kafka through its related concepts.
Related concepts: Queues and streams
2 notes · 5 labs · 23 vault drills · 1 incident · 6 free · Open the Kafka page →
Note
- Kafka, Explained With SlidersNote
Locked 22 min read - Kafka Hands-on LabNote
Locked 40 min read
Lab
- Kafka Fundamentals in KRaft Mode: Partitions, Consumer Groups & Offset ReplayLab
Locked Laptop + Docker - Kafka Consumer Groups, Offset Commit Semantics & Lag MonitoringLab
Locked Laptop + Docker - Kafka Consumer Group Partition Rebalancing and Pod EvictionLab
Locked Laptop + Docker - Kafka Dead Letter Queue & Poison Pill IsolationLab
Locked Laptop + Docker - Kafka Hot-Key Partition Skew & Salting MitigationLab
Locked Laptop + Docker
Vault drill
- Why Kafka Can Handle Millions of Writes Per Second on Standard DisksVault drill
Free 16 min read - Stream Live Postgres Changes to ClickHouse Without Hurting ProductionVault drill
Locked 15 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 - How to Fix Kafka Consumer Lag When One Partition Falls BehindVault drill
Locked 16 min read - Why an Idempotent Producer Is Not Enough for Exactly-Once in KafkaVault drill
Free 16 min read - How to Move Data Out of a Monolith Database Without DowntimeVault drill
Locked 16 min read
See all 23 vault drills on the topic page →
Incident
- The Order That Lost Its EventIncident
Free Browser, no install
Messaging
RabbitMQ
Explore RabbitMQ through its related concepts.
Related concepts: Queues and streams
1 lab · 0 free · Open the RabbitMQ page →
Lab
- RabbitMQ Competing Consumers Queue, Prefetch QoS & Dead Letter ExchangesLab
Locked Laptop + Docker
Edge
Nginx
Explore Nginx through its related concepts.
Related concepts: Networking and trafficLoad balancing
2 labs · 1 vault drill · 1 incident · 1 free · Open the Nginx page →
Lab
- Nginx Basics: Serve Files, Proxy to an App, Read the Logs, Reload SafelyLab
Locked Laptop + Docker - Nginx Load Balancer: Round-Robin, Least-Connections & FailoverLab
Locked Laptop + Docker
Vault drill
- When to Replace NGINX Ingress with Envoy Gateway or a Service MeshVault drill
Locked 15 min read
Incident
- One Server DownIncident
Free Browser, no install
Infrastructure
Docker
Explore Docker through its related concepts.
Related concepts: Foundations
3 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 - Docker Compose in Practice: Healthchecks, Restarts & VolumesLab
Locked Laptop + Docker
Infrastructure
Kubernetes
Explore Kubernetes through its related concepts.
Related concepts: Cloud and orchestration
6 labs · 15 vault drills · 3 free · Open the Kubernetes page →
Lab
- Your First Cluster: Pods, Deployments, Self-HealingLab
Free Laptop + Docker - Services and Load BalancingLab
Locked Laptop + Docker - Readiness, Liveness and Startup ProbesLab
Locked Laptop + Docker - Rolling Updates, Rollbacks and Graceful ShutdownLab
Locked Laptop + Docker - Resources and Autoscaling Under LoadLab
Locked Laptop + Docker - Node Failure: The Tatkal CapstoneLab
Locked Laptop + Docker
Vault drill
- How Cross-Zone Traffic and NAT Gateways Drain Your Cloud BudgetVault drill
Free 14 min read - Why Kubernetes Sends All Your gRPC Traffic to Just One PodVault drill
Locked 13 min read - How Canary Releases Automatically Roll Back When Error Rates SpikeVault drill
Locked 14 min read - Why Users See 502 Bad Gateway During Deployments and How to Fix ItVault drill
Locked 14 min read - How to Run Chaos Experiments in Production Without Hurting CheckoutVault drill
Locked 15 min read - When to Replace NGINX Ingress with Envoy Gateway or a Service MeshVault drill
Locked 15 min read - Run Production on Spot Instances with 2-Minute Eviction HandlingVault drill
Locked 16 min read - Why CPU-Based Scaling Fails for Workers and How KEDA Scales on LagVault drill
Locked 15 min read