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.
16 write-ups
| Title | Difficulty |
|---|---|
| Design Twitter Post short messages, follow people, and load a home timeline in under 200ms, even when an account with 100 million followers tweets. | Medium |
| Design YouTube Accept multi-gigabyte uploads, turn them into adaptive streams in many resolutions, and serve billions of views a day without the origin ever feeling it. | Medium |
| Design a Distributed Cache Grow a single memcached-style server into a cluster that serves millions of reads a second, evicts with LRU, survives node loss without crushing the database, and stays close to the source of truth. | 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 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 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 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 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 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 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 Google Photos Back up every photo from billions of phones, store exabytes of them cheaply across storage tiers, and serve the right-sized image in milliseconds, the way Facebook and Instagram do. | Medium |
| Design Netflix Stream a known, curated catalog to hundreds of millions of members at peak evening load by putting the video inside ISPs before anyone presses play, plus a Top 10 per country. | Medium |
| Design Reddit Communities, posts, up and down votes, ranked feeds and deeply nested comment threads, plus how the same design stretches to Quora and Stack Overflow with reputation. | Medium |
| Design Spotify Stream any of 100 million tracks in a few hundred milliseconds, keep playlists consistent under shared edits, control playback by voice across devices, and sync audiobook progress. | Medium |
| Design TikTok An endless feed of short videos that start the instant you swipe, ranked for each viewer from hundreds of millions of candidates in a few hundred milliseconds. | Medium |
| Design Truecaller Show who's calling and whether it's spam before the second ring, from a crowdsourced directory of billions of numbers, with spam reports that resist abuse. | Medium |