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.
18 write-ups
| Title | Difficulty |
|---|---|
| Design Facebook Post Search Let users search billions of status updates by keyword, sorted by recency or likes, with new posts and likes searchable within a minute, plus a public search API for third-party developers. | Medium |
| Design a Distributed Logging System Collect close to a petabyte of logs a day from every service, make them searchable within seconds, alert on log patterns and keep tamper-evident audit logs for years. | Hard |
| Design a Flight Search Engine Search flights across airlines and travel agencies like Skyscanner, Kayak or Google Flights, building connecting itineraries, streaming results from slow providers, caching prices and sending deal alerts. | Hard |
| 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 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 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 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 Web Search Engine Answer 100k queries a second over ten billion pages in a few hundred milliseconds, with an inverted index sharded across thousands of machines, multi-stage ranking and a fresh index. | 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 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 Jira A multi-tenant issue tracker with custom fields and workflows, drag-and-drop kanban boards like Trello, comments with @mentions that notify the right people, and fast filtered search. | Medium |
| Design LinkedIn Connections Store a billion-member connection graph, show 1st/2nd/3rd-degree badges and the shortest path up to four hops in milliseconds, and search people by name and jobs by keyword. | Medium |
| Design Shazam Identify a song from ten noisy seconds of audio against a catalog of 50 million tracks, and reuse the same fingerprint index to catch copyrighted audio and duplicate content in user uploads. | Medium |
| Design Slack Workspaces, channels and DMs with real-time delivery to every open client, unread state across devices, presence at scale, permission-aware search, and the Discord variant with million-member servers. | Hard |
| Design Typeahead Autocomplete Return the top ten query suggestions for every keystroke in under 100ms, keep them fresh as trends change, and handle typos, next-word suggestions and instant results. | Medium |
| Elasticsearch What you need to know about Elasticsearch for system design interviews, including mappings and analyzers, Lucene segments, shards and replicas, the write and query paths, CDC sync and its limits. | |
| Geospatial Indexing How systems answer "what's near me?" quickly, covering geohashes, quadtrees, Hilbert curves and S2, Uber's H3, PostGIS and R-trees, and Redis GEO, plus how to choose one and handle moving objects. |