Skip to content

Repository files navigation

System Design Handbook

View the live app

Open System Design Handbook →

Browse the full interactive course in your browser — 21 fundamentals, 44 case studies (advanced + S3 + GitHub + Zomato + flash sales), HLD/LLD diagrams, dark mode, and prev/next navigation.

Live app: system-design-iota-ten.vercel.app · GitHub: saroj990/system-design

A complete beginner-to-interview path for designing backend systems: clarify requirements, estimate scale, draw a clear HLD, then specify LLD with APIs, schemas, and algorithms.

👍 Enjoying this handbook? Give the repo a star on GitHub — it helps others discover it and keeps this project going. Star on GitHub ⭐
21 fundamentals 44 case studies 14 advanced HLD + LLD for every app Dark mode

Who this is for

Audience What you will get
New to distributed systems A plain-English map of the building blocks
Backend engineers A repeatable method for HLD and LLD
Interview candidates Practice on the apps interviewers ask most

You should be comfortable writing basic code. You do not need prior experience with Kafka, Redis clusters, or multi-region architecture.

Course structure

Part 1 — Fundamentals

Twenty-one sequential lessons covering the vocabulary and patterns every design reuses:

requirements → estimates → APIs → DNS → HTTP / network path → load balancing → databases → replication & sharding → caching → consistency → queues → CDN → services → reliability → retries & resilience → authn & authz → transactions & isolation → SSO → how to HLD → how to LLD

Begin Part 1 →

Part 1.5 — How to think

Stop memorizing diagrams. Learn a repeatable loop, pattern choosers, narrated first-10-minutes scripts, and a practice rubric — then use case studies as drills.

Start thinking →

Part 2 — Case studies

Forty-four products designed end-to-end with the same template: problem, requirements, capacity math, component diagram, APIs, schema, algorithms, and scale evolution — including flash sales (Big Billion Days / Great Indian Festival), GitHub at scale, and Zomato-style delivery. See the full catalog below.

Practice first (cover the HLD), then compare. Start with URL Shortener, then Rate Limiter.

Browse case studies →

Featured case studies

Start with these — they cover the patterns interviewers ask most often. Each includes HLD diagrams, APIs, schema, and scale notes.

See all 44 case studies in the catalog below, or jump to Flash Sale (BBD / GIF), Zomato, or GitHub at Scale.

Learning path

  1. Read How to use this course — study habits and interview tips
  2. Complete Fundamentals 01–21 in order (sidebar matches lesson numbers)
  3. Complete How to think (Part 1.5) — loop, choosers, narrations, practice rubric
  4. Attempt each case study’s HLD yourself before reading the solution
  5. Deep-read LLD for APIs, tables, and concurrency

What you will practice

Clarify → Estimate → Draw HLD → Detail LLD → Name trade-offs
(+ Thinking Loop: verb → hot path → shape → correctness → first break)

Every case study trains the same loop so the method becomes automatic.

Case study catalog

# System Focus
01 URL Shortener Caching, unique codes
02 Pastebin Metadata vs object storage
03 Rate Limiter Token bucket, Redis
04 Key-Value Store Hashing, quorum
05 Unique ID Generator Snowflake IDs
06 News Feed Fan-out strategies
07 Chat / Messaging WebSockets, delivery
08 Photo Sharing Upload pipeline, CDN
09 Video Streaming Transcoding, ABR
10 Ride Sharing Geo matching
11 Ticket Booking Inventory locks
12 Web Crawler Frontier, politeness
13 Search Autocomplete Tries, top-K
14 Notification System Multi-channel fan-out
15 Payment / Wallet Ledger, idempotency
16 E-commerce Catalog & cart
17 Distributed Cache Cluster slots
18 File Storage Sync & dedup
19 Collaborative Docs OT / CRDT basics
20 Analytics Pipeline Ingest → warehouse
21 Music Streaming Spotify, playlists, CDN
22 Hotel Booking Airbnb, calendar locks
23 Online Code Judge LeetCode, sandboxes
24 API Gateway Routing, auth, aggregation
25 Leaderboard Redis ZSET, gaming ranks
26 Trending Topics Hashtags, top-K windows
27 Video Conferencing Zoom, WebRTC, SFU
28 Nearby Friends Geohash, location
29 Web Search Engine Inverted index, ranking
30 Distributed Scheduler Cron at scale, leases

Advanced / difficult (31–44)

# System Focus
31 Order Matching Engine Order book, price-time priority
32 Distributed Coordination etcd/Chubby, Raft, leases, watches
33 Ad Click Aggregation Billions/day, dedup, fraud, windows
34 Multi-Region Active-Active Vector clocks, CRDTs, conflicts
35 Saga / Distributed Transactions Compensations, orchestration
36 ML Recommendation Feed Feature store, ranking pipeline
37 Exabyte Object Storage Erasure coding, S3 internals
38 Kafka-Scale Streaming ISR, EOS, rebalancing
39 Global DDoS Mitigation Anycast, scrubbing, edge defense
40 Email at Scale SMTP, indexing, spam, search
41 Amazon S3 Internals How S3 stores trillions of files
42 GitHub at Scale Git packs, DGit, forks, LFS, Actions
43 Zomato / Food Delivery Marketplace, geo, dispatch, lunch peaks
44 Flash Sale (BBD / GIF) Inventory, CDN, sale-night ops

Run & deploy

Live handbook: https://system-design-iota-ten.vercel.app

npm install
npm run dev

Open http://localhost:3000. This is a Next.js app (and a PWA) — deploy to Vercel with git push.

Offline / PWA

  1. Build production: npm run build && npm start
  2. Visit lessons while online (they get cached)
  3. Install the app from the browser (or use the Install banner)
  4. Turn off the network — previously opened pages still load

Details: Deploy this site.


👍 Found this useful? Give the project a star on GitHub — it takes one click and helps more learners find this handbook.

Ready? Start with How to use this course, then continue to What is System Design?.

Releases

Packages

Contributors

Languages