System design guides
Real systems, from rate limiters and distributed systems to data infrastructure.
130 guides · Newest first · Updated
- Cassandra Consistency Explained: Levels, Quorums and RepairA plain-English guide to Cassandra consistency levels, how reads and writes wait for replicas, and how to pick a level per query, built on one running farm-sensor example.System design · 19 min read ·
- Clock Synchronization Explained: Why Server Timestamps Lie and What to DoWhy server clocks drift, how NTP corrects them, why timestamps still lie, and what TrueTime does, built on one running cardamom auction example.System design · 26 min read ·
- Design Google Docs: OT vs CRDTsA plain-English guide to collaborative editing that compares operational transformation and CRDTs, shown on one running example of a small-team document editor.System design · 20 min read ·
- Event Sourcing and CDC: Store Events, Derive StateA plain-English guide to event sourcing, change data capture and the outbox pattern, built on one running example of a prepaid society wallet in Ahmedabad.System design · 26 min read ·
- The 2021 Facebook Outage Explained: BGP and DNSA plain-English guide to the 2021 Facebook outage, from the backbone command and the BGP withdrawals to the DNS loss and the slow recovery, shown on one running example of a regional internet provider.System design · 19 min read ·
- Fallacies of Distributed Computing: Crash, Omission, ByzantineA plain-English guide to the eight fallacies of distributed computing and the failure models behind them, built on one running drone fleet example.System design · 20 min read ·
- Design Dropbox or Google Drive: File Sync System DesignChunking, uploads, change journals, conflicts and storage maths.System design · 26 min read ·
- Design a Food Delivery App: Orders, Riders and PaymentsOrder states, payments that never charge twice, rider dispatch, live tracking and the dinner rush.System design · 30 min read ·
- How Kafka Works Internally: Log, Partitions and ReplicasA plain-English tour of Kafka internals: the log, partitions, offsets, replicas, broker failure and consumer groups, built on one running bus telematics example.System design · 22 min read ·
- The Knight Capital Glitch Explained: Dead Code and a Bad DeployA plain-English walk through the 2012 Knight Capital glitch: the missed server, the reused flag, the rollback that made it worse and the lessons, shown on one running example of a trading team's release.System design · 18 min read ·
- Design a Live Cricket Score System That Survives an IPL FinalHow one ball update reaches millions of phones in about a second, built on one running cricket app example.System design · 20 min read ·
- Design a Distributed Monitoring System: Metrics and AlertsCollecting metrics from thousands of servers, storing them cheaply and sending alerts people trust, shown on one running hosting example.System design · 28 min read ·
- Optimistic vs Pessimistic Locking: Version Numbers vs LocksA plain-English guide to optimistic and pessimistic concurrency control, version checks, row locks and when to use each, built on one running pharmacy inventory example.System design · 28 min read ·
- Orchestration vs Choreography: Who Runs Your Microservices?How each runs a saga, handles failed steps and crashes, and when to mix them.System design · 19 min read ·
- Design an OTT Streaming Platform for Live SportSegments, playlists, CDN caching and plans for match-day spikes.System design · 25 min read ·
- Payment System Design: Ledgers, Idempotency and ReconciliationDouble-entry ledgers, duplicate-proof payments, pending UPI payments, reconciliation and settlement.System design · 25 min read ·
- Design a Quick-Commerce App (10-Minute Delivery)A plain-English guide to designing a 10-minute grocery app, from dark stores and live per-store stock to safe holds and restocking, built on one running Delhi example.System design · 20 min read ·
- Design a Ticket Booking System: Seat Locks and Flash SalesA plain-English guide to designing a movie and concert ticket booking system, from seat holds and payments to flash sales, built on one running Mumbai example.System design · 26 min read ·
- Design a Ride-Hailing App Like Uber: Matching and SurgeLive driver locations, matching and surge pricing, built on one running example in Guwahati.System design · 25 min read ·
- Design WhatsApp: Delivery Receipts, Groups and EncryptionOpen connections, offline inboxes, honest delivery ticks, group fan-out with sender keys and end-to-end encryption.System design · 25 min read ·
- AWS US-EAST-1 Outage (October 2025) Explained: How a DNS Race Broke DynamoDBHow a DNS automation race emptied DynamoDB's record and how EC2 and load balancers followed.System design · 21 min read ·
- Google Cloud Storage's October 2026 Outage Explained: Bypassed Capacity ChecksHow a routing change skipped capacity checks, and how to retry writes safely.System design · 22 min read ·
- Postgres MVCC Explained: Row Versions, Dead Tuples and VACUUMRow versions with xmin and xmax, snapshots, dead tuples, VACUUM, autovacuum and wraparound.System design · 21 min read ·
- Design Distributed Search: Inverted Indexes and ShardsHow an inverted index works, and how shards, replicas and a coordinator spread search across machines, built on one running marketplace example.System design · 25 min read ·