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 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 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 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 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 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 Reminder Service Let millions of users set one-time and recurring reminders and fire each one exactly once within five minutes of its due time, through time zones, DST changes, edits and traffic spikes at the top of the hour. | Medium |
| Design a Restaurant Order Aggregator Pull orders from DoorDash, Uber Eats and Grubhub into one tablet and the restaurant's POS, sync status back to each platform, and publish one menu everywhere. | Medium |
| Design a Restaurant Reservation System Let diners find a table for a party size and time, book it without double-seating, and get confirmations and reminders on time, like OpenTable, with table assignment, popular drops and no-shows. | Medium |
| Design a Reviews and Ratings System Let users rate and review items, show an average and star histogram on every listing, keep aggregates right through edits and deletes, and rank items fairly when some have only a handful of ratings. | Medium |
| Design a Routing and Fleet Management System Track 200,000 vehicles live, plan optimized multi-stop routes for each day, keep ETAs accurate, and dispatch new jobs into running routes, for delivery and field-service fleets. | Medium |
| Design a Shipment Tracking System Track tens of millions of parcels a day through hubs, trucks and partner carriers, turning out-of-order scan events from many parties into a correct status, location history, ETA and notifications. | Medium |
| Design a Subscription Billing System Design billing for recurring subscriptions and pay-as-you-go usage, with exactly-once metering, proration, dunning, and a cost explorer whose estimates match the final invoice. | Medium |
| Design a Tagging Service One tagging service shared by an issue tracker, a wiki and a code host, that shows the tags on any item, lists every item with a tag, and ranks popular tags. | Medium |
| Design a Webhook Delivery System Deliver events to thousands of customer endpoints with retries, signatures and isolation from slow receivers, plus an events API so a customer who missed deliveries can catch up. | Medium |