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 an API Gateway One front door for hundreds of microservices that routes, authenticates and rate limits 500k requests per second, shapes responses per client with BFFs, and survives slow backends. | Medium |
| Design an Authentication Service A multi-tenant login platform like Okta or Auth0, with password and federated login, single sign-on across apps, and tokens that a million requests per second can verify. | Hard |
| Design an Authorization Service like Zanzibar A central permissions service that answers "can this user do this to this object?" in milliseconds, for page sharing, nested groups, B2B roles and IAM-style policies. | Hard |
| 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 an ETL Pipeline Move data from Oracle, SaaS APIs and uploaded files into a warehouse on schedule or continuously with CDC, without missing rows, loading duplicates or overloading the source. | Medium |
| Design an Internationalization System Manage UI strings in 50 languages with correct plurals, pronouns and formats, give translators a reviewed and audited workflow, ship updates without app releases, and translate user posts on demand. | Medium |
| Design an Inventory Management System Track 100M SKUs across hundreds of warehouses, reserve stock at checkout without overselling, and keep an auditable ledger through receipts, returns, damage and cycle counts. | Medium |
| Design an IoT Platform Connect 10 million devices over MQTT, ingest a million sensor readings per second, roll them up for dashboards and alerts, and manage device config, commands and firmware. | Hard |
| Design an Online Auction Build an eBay-style auction where thousands of people bid on the same item, everyone agrees on the highest bid, no bid is lost, and watchers see new bids within a second. | Medium |
| Design an Online Banking System Design a bank's online platform with accounts, transfers, real-time credit card authorization against limits and holds, and monthly statements. | Hard |
| Design an Online Presence Service Show who's online, away or offline in a Slack-like app with 30M live connections, detect disconnects from heartbeats, and push presence changes without fanning out to everyone. | Medium |
| Design an OTP and MFA Service Send and verify one-time codes by SMS and email, support authenticator apps, and enforce expiry, retry and resend limits so a six-digit code can't be guessed or abused. | Easy |
| Design Buy Now, Pay Later Design an Affirm-style buy now, pay later service that makes a credit decision at checkout, pays the merchant, and collects installments on schedule without missing or double-charging any. | Medium |
| Design Country IP Blocking Block banned countries and IPs at the edge in microseconds, serve an IP-range geo lookup API, sync a distributed denylist to thousands of servers, and keep a slow reputation API off the hot path. | Medium |
| Design DNS Resolve names to addresses at millions of queries per second, from the root down to authoritative servers, with caching, fast record updates, anycast and defenses against poisoning and DDoS. | Medium |
| Design Facebook Post Privacy Enforce only me, friends, friends of friends, public and custom-list audiences on every read path at millions of checks per second, plus Instagram's private accounts and Close Friends. | Medium |
| Design Find My iPhone Let owners see where their phones, laptops and AirTags are within 30 seconds at a billion requests a day, including offline devices found by nearby phones over Bluetooth with end-to-end encryption. | Medium |
| Design GitHub Host hundreds of millions of git repositories with durable replicated storage, survive CI clone storms, keep pull requests correct as branches move, and search code across all of it. | Hard |
| Design Gmail Send and receive email with the rest of the internet over SMTP, store billions of mailboxes with attachments, organize them with labels, search them in under a second, and run a disposable inbox whose mail expires. | Medium |
| Design Google Calendar Design a calendar with events, invites and RSVPs, recurring events with exceptions, free/busy lookups, meeting room suggestions and Calendly-style booking links that never double-book. | Medium |