Free walkthroughs from The HLD Blueprint
25 system design interview case studies
The questions you'll actually be asked, each with requirements, capacity numbers, APIs, an architecture diagram and the follow-ups interviewers like. The deep dives and model answers are in the book.
C01URL ShortenerID ranges, base62, 302 vs 301, edge caching, click analyticsC02Distributed Rate LimiterToken bucket, sliding windows, atomic Lua, fail-open vs fail-closedC03Distributed Key-Value StoreConsistent hashing, quorums, hinted handoff, Merkle treesC04Notification SystemPriority queues, frequency caps, quiet hours, provider failoverC05Chat App (WhatsApp-style)WebSocket gateways, sequence numbers, receipts, offline syncC06Social News FeedFan-out on write vs read, celebrity hybrid, rankingC07Photo Sharing (Instagram-style)Upload pipeline, variants, CDN, hot-row-free like counts, storiesC08Video StreamingChunked transcoding, adaptive bitrate, pre-positioningC09Ride-Hailing (Uber/Ola-style)Location ingestion, H3 index, dispatch without double assignmentC10Food Delivery (Swiggy/Zomato-style)Geo discovery, order saga, partner batching, peak-hour sheddingC11Ticket Booking (BookMyShow-style)Seat holds, conditional writes, payment saga, waiting roomsC12Payment System (UPI-style)State machine, idempotency, double-entry ledger, reconciliationC13E-commerce Flash SaleAtomic stock reservation, admission control, bot defenceC14File Sync (Dropbox-style)Content-defined chunks, dedupe, journals, conflicted copiesC15Collaborative Docs (Google Docs-style)OT vs CRDT, session ownership, op log + snapshotsC16Search AutocompleteTries with top-K, offline builds, trending deltas, edge cachingC17Web CrawlerURL frontier, politeness, Bloom filters, SimHash, trap defenceC18Distributed Job SchedulerBucketed due index, leases, SKIP LOCKED, midnight spikesC19Real-Time LeaderboardSorted sets, sharded ranks, percentile tails, anti-cheatC20Ad-Click AggregationEvent-time windows, watermarks, exactly-once, batch reconciliationC21E-commerce PlatformDenormalised catalogue, stock reservations with TTL, checkout saga, festival-sale prepC22Live Streaming at Cricket-Final Scale25M concurrent viewers, ABR segments, request collapsing, multi-CDN steeringC23AI Chat Assistant (ChatGPT-style)Token streaming, GPU batching, context building, RAG on uploads, safe toolsC24Stock Exchange Matching EnginePrice-time priority, sequencer + journal, deterministic replicas, multicast dataC25Metrics and Alerting SystemLabel cardinality, Gorilla compression, downsampling, alert routing