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.
13 write-ups
| Title | Difficulty |
|---|---|
| Design a Distributed Rate Limiter Cap how many requests each user, IP or API key can make, across a fleet of gateways, at a million requests per second, while adding about a millisecond of latency. | Medium |
| Design a Ticket Booking System Let millions of people pick seats for concerts, movies and trains without selling a seat twice, with seat locking, a waiting room for on-sales, booking across theater chains and train seats sold by segment. | Hard |
| Design an Online Judge Design a LeetCode-style judge that runs untrusted code safely and fairly, survives contest-start spikes, keeps a live leaderboard, and extends to Replit-style interactive sandboxes. | Medium |
| Design a Donation App Take donations for charities during a time-limited fundraising event, charge every donor exactly once, show a live running total to a million viewers, and pay the money out to the right charities. | Easy |
| Design a Fantasy Sports Platform Let tens of millions of users build teams before a match locks, score every team live as the real game unfolds, rank huge contests in seconds and pay winners exactly once. | Medium |
| Design a Flash Sale Site Sell 10,000 units to 10 million people who all click at the same second, without overselling and without taking the rest of the site down. | Hard |
| 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 an E-Commerce Platform like Amazon A catalog of 500M products, faceted search, durable carts and a checkout that never oversells or double charges, all built to survive a sale day with 10x normal traffic. | Medium |
| Design Robinhood Design a retail brokerage app that streams live prices for 7,000 tickers to millions of users, draws historical charts, routes orders to the market and survives a crash-day stampede. | Hard |
| Design Shopify A multi-tenant store builder for millions of merchants, covering tenant isolation in pods, Salesforce-style custom fields, custom domains with automatic HTTPS, and one store's flash sale. | Hard |
| Design Steam Let developers publish 100 GB games and patches, sell them through a store that survives seasonal sales, and deliver tens of terabits per second of downloads with patches that only send what changed. | Medium |