System design guides you can run
Short guides to the systems interviewers ask about most. Each one shows where the design breaks and what fixes it. The ones marked Runnable open the same design on the live simulator.
Not sure where to start? Follow the roadmap.
Popular system design questions
76 of 76 guides
Design a system
Full interview questions, from requirements to the part that breaks first.
- Design an Online Judge like LeetCodeSubmission queues, isolated runners, repeatable verdicts
- Design a Top-K Trending ItemsStream windows, count-min sketches, candidate ranking
- Design a Live Cricket Score App like CricbuzzShared score snapshots, edge caching, corrections
- Design a URL ShortenerRunnableRead-heavy scaling, caching
- Design a Chat SystemQueues, write scaling, delivery lag
- Design a Notification SystemQueues, provider rate limits, retries
- Design a Twitter TimelineRunnableFan-out and the celebrity problem
- Design an InstagramMedia uploads, feeds, hot accounts
- Design a YouTubeTranscoding pipeline, object storage, CDN
- Design a Netflix CDNRunnableEdge caching and the launch stampede
- Design a Live Streaming Platform like HotstarIPL spikes, pre-warming, panic mode
- Design an IRCTC Tatkal Booking SystemRunnable10:00 rush, waiting room, no double booking
- Design a Food Delivery App like Swiggy or ZomatoRunnableRider tracking, dinner peaks, order assignment
- Design a Flash Sale like Flipkart Big Billion DaysRunnableFlash sale, hot stock key, no overselling
- Design a UPI Payment App like PhonePe or Google PayIdempotency, pending payments, no double debits
- Design an Ad Click AggregatorStreams, Flink windows, exact counts
- Design an IoT Telemetry IngestionDevice streams, late events and reconnect bursts
- Design a Payment Fraud Detection SystemRisk scoring, delayed labels and payment review
- Design a Social Graph ServiceTyped edges, privacy and high-degree accounts
- Design an Ad Serving SystemCandidate retrieval, eligibility, ranking and pacing
- Design a Short Video App like TikTokVideo upload, transcoding, feed retrieval and CDN playback
- Design a Recommendation SystemCandidate retrieval, staged ranking and freshness
- Design an Email Service like GmailDurable acceptance, recipient delivery and mailbox sync
- Design a Calendar Service like Google CalendarRecurrence, time zones, sync and reminders
- Design a Q&A Site like QuoraQuestion search, votes and ranked answers
- Design a Rate LimiterToken bucket, distributed state
- Design an UberGeospatial indexing, matching
- Design a Web CrawlerPoliteness, dedup, the URL frontier
- Design a DropboxChunking, dedup, sync
- Design a Key-Value StorePartitioning, replication, quorums
- Design a Proximity Service (Nearby Search)Geohash, quadtrees, nearby search
- Design a Search Autocomplete (Typeahead)Tries, top-K per prefix, caching
- Design a Distributed Unique ID GeneratorSnowflake IDs, UUID v7, clocks
- Design a Distributed LockLeases, fencing tokens, Redis vs ZooKeeper
- Design a Stock Exchange Order Matching System
- Design a Distributed Message Queue
- Design a Real-Time Leaderboard
- Design a Movie Ticket Booking System like BookMyShow
- Design a Payment Gateway like Razorpay
- Design a Collaborative Document Editor like Google Docs
- Design a Fantasy Contest Join System like Dream11
- Design a Quick Commerce App like Zepto or Blinkit
- Design a Hotel Booking System like MakeMyTrip
- Design a Distributed Job Scheduler
- Design a Metrics and Monitoring System
- Design an API Gateway
- Design a WhatsApp-style Messaging
- Design a Maps ETA and Routing Service
- Design a Pastebin
Concepts
The building blocks those designs reuse.
- Consistent Hashing explainedRebalancing with minimal movement
- Caching Strategies explainedCache-aside, write-through, stampedes
- Load Balancing explainedL4 vs L7, algorithms and failover
- Database Sharding explainedShard keys, hot partitions, resharding
- Database Replication explainedLeader-follower, lag, failover, quorums
- Fault Tolerance explainedNines, retries, circuit breakers, chaos
- Eventual Consistency explainedStrong vs eventual, CAP, quorums, CRDTs
- Leader Election and Consensus explainedRaft, quorums, leases, split brain
- Distributed Transactions explained2PC, sagas, outbox, idempotent consumers
- CAP Theorem explained
- Scalability explainedRunnable
- Microservices vs Monolith explained
- API Design explained
- Database Indexing explained
- DNS explained
- Forward vs Reverse Proxy explainedRunnable
- Backpressure explainedRunnable
- Database Federation explained
- Networking Basics explained
- Serialization explained
- System Design Security explainedIdentity, access, encryption and secrets
- SLA, SLO and Error Budgets explainedService objectives, nines and error budgets
- SQL vs NoSQL explainedAccess patterns, transactions and data models
- Observability explainedMetrics, logs, traces and alerting
- CQRS and Event Sourcing explainedRead models, event logs, projections and replay
AI system design
Retrieval, agents and model serving.