System design
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
| Title | Difficulty |
|---|---|
| Design a Hotel Booking System Search millions of properties by place and dates, show live prices and rooms left, and book a multi-night stay without ever selling the same room twice, for Booking.com, Agoda or Airbnb. | Medium |
| Design a Large File Distribution System Get a 10 GB binary or model onto 10,000 servers in a few minutes with peer-to-peer piece exchange, locality-aware peers, integrity checks and staged software rollouts. | Medium |
| Design a Leaderboard Rank 100 million players in real time, show the global top 100, any player's exact rank and a friends-only board, with sorted sets, tie-breaking and sharding when one node isn't enough. | Medium |
| Design a Ledger System Design a double-entry ledger that records every money movement immutably, serves correct balances under heavy concurrency, handles hot accounts and reconciles with the banks. | Hard |
| Design a Likes Counter Count likes, votes and views for billions of posts, where one viral post can take tens of thousands of likes a second, without losing a like or counting one twice. | Medium |
| Design a Live Sports Score Service Get a goal or a wicket from the stadium to 50 million phones in a few seconds, keep scores correct across multiple data sources, and survive the spike of a World Cup final. | Medium |
| Design a Live Streaming Platform Take a live feed from a streamer or a stadium, transcode it in real time, deliver it to tens of millions of viewers a few seconds behind, and keep live comments flowing. | Hard |
| Design a Live Viewer Count Show "48.2M watching" on a live match, counting unique users across devices from millions of heartbeats a second, and deliver the number to every viewer without melting the origin. | Medium |
| Design a Load Balancer Spread a million requests per second across a changing pool of servers, with L4 and L7 tiers, health checks, the right algorithm for each workload, and no single box to fail. | Medium |
| Design a Metrics Monitoring and Alerting System Build a Datadog-style platform that collects a billion metric series, draws dashboards in seconds, runs synthetic checks from many regions and pages the right on-call engineer within a minute. | Hard |
| Design a News Aggregator Pull articles from tens of thousands of publishers through RSS, push and crawling, group duplicate stories, and serve fast topic and personalized feeds, plus a variant that aggregates users' social media accounts. | Medium |
| Design a Notification Service Send push, email and SMS on behalf of every team in a company, respecting user preferences, filtering noise, escalating urgent alerts, and never losing a one-time code. | Medium |
| Design a Payment System Build a Stripe-like payment service that authorizes, captures and refunds card payments exactly once, survives timeouts to banks, and routes across processors. | Hard |
| Design a Podcast Platform Host podcasts end to end. Creators upload and publish episodes, we generate RSS feeds polled by every podcast app, deliver audio through a CDN, and notify subscribers when new episodes drop. | Medium |
| Design a Price Alert System Track prices for 50M products and 10k stock tickers, keep price history, and match every change against 250M user thresholds so each alert fires once, on time. | Medium |
| Design a Proximity Service like Yelp Find businesses near a user, filtered and ranked, in under 200ms over 200 million places, using geohashes, quadtrees or PostGIS, plus location-based restaurant recommendations. | Medium |
| Design a Quota Management Service One storage quota shared by several products, like 15 GB across Drive, Photos and Gmail, checked on every upload and kept accurate as files come and go. | Medium |
| Design a Real-Time Analytics Platform Build an Amplitude-style clickstream platform that ingests a million events a second from SDKs that go offline, updates dashboards within seconds and answers funnel and retention queries fast. | Hard |
| Design a Real-Time Fraud Detection System Score every card transaction for fraud within 100 ms using streaming window rules like "five countries in one minute", ML scores from a model API, and per-bank rules for many banks. | Hard |
| Design a Recommendation System The serving and data side of recommendations, from Netflix-style home rows and "customers also bought" to an Instagram-style Explore feed, with candidate retrieval, ranking and freshness. | Hard |