← Home

System Design Interview Questions, Interactive

Each system below is a real architecture you can run, not just read. Hit play and watch a request flow through the components step by step; click any box to see why it's there and what you'd use instead; trigger a failure scenario to see what breaks and how the system recovers. Every system includes back-of-envelope capacity math and a recap quiz. Start with a Beginner system like the URL Shortener, then work up to Advanced ones like Kafka or the Stock Exchange matching engine.

Beginner
Open →
URL Shortener

Hashing, key generation, read-heavy caching.

Intermediate
Open →
Instagram Feed

Fan-out on write vs read, ranking, CDN.

Advanced
Open →
WhatsApp

Persistent connections, message queues, delivery.

Intermediate
Open →
Chat (Slack-style)

Room-based pub/sub fanout across gateway instances.

AdvancedFree
Open →
Uber (Driver Matching)

Geo-indexing, dispatch, real-time location streams.

Advanced
Open →
Netflix (Video Streaming)

CDN-first, adaptive bitrate, recommendation.

AdvancedFree
Open →
Payment Gateway

Idempotency, fraud, async webhooks, ledger.

IntermediateFree
Open →
Dropbox (File Sync)

Chunking, content-addressed dedup, multi-device sync.

IntermediateFree
Open →
Notification System

Multi-channel async delivery, user preferences, retries.

AdvancedFree
Open →
TikTok (For You Feed)

Video pipeline, ML-driven recommendation, infinite scroll.

AdvancedFree
Open →
Search Engine

Web crawl, inverted index, scatter-gather query, ranking.

IntermediateFree
Open →
Yelp (Location-Based Search)

Geohashing, nearby search, review writes, hot-query caching.

AdvancedFree
Open →
Ticketmaster (Seat Booking)

Seat holds, payment timeouts, virtual queue for hot events.

AdvancedFree
Open →
Twitter Home Timeline

Hybrid fan-out: push for most users, pull for celebrities, merged at read.

AdvancedFree
Open →
Apache Kafka

Partitioned, replicated log. Brokers, ISR, consumer groups, leader failover.

AdvancedFree
Open →
Amazon S3 (Object Storage)

Multi-AZ erasure coding, sharded metadata, strong read-after-write.

AdvancedFree
Open →
Google Docs (Realtime Collab)

Operational Transforms, per-document op log, snapshot + delta replay.

AdvancedFree
Open →
Stock Exchange (Matching Engine)

Single-threaded per-symbol matching, in-memory order book, microsecond latency.

IntermediateFree
Open →
Airbnb (Marketplace)

Geo-search, atomic seat-holds, authorize-then-capture payments, async fan-out.

AdvancedFree
Open →
Bluesky (AT Protocol)

Federated social: per-user PDS, global firehose Relay, plug-in AppViews and custom feeds.