End-to-end system designs, explained in five minutes.
Turn long URLs into short, unique links and redirect billions of reads with sub-100ms latency.
A real-time messaging system built on persistent WebSocket connections, with message fanout, delivery/read receipts, and online presence at billions-of-messages-per-day scale.
A photo-sharing service with a personalized timeline, balancing fanout-on-write and fanout-on-read to generate feeds cheaply, and a CDN to serve media globally.
A video platform covering the async upload/transcode pipeline, adaptive-bitrate streaming, global CDN delivery, and metadata storage for search and playback.
Video streaming at global scale using pre-positioned content on Open Connect appliances, adaptive-bitrate playback, a microservices control plane, and personalized recommendations.
A real-time ride-hailing system: ingesting driver locations, indexing them geospatially (geohash/H3), matching nearby drivers to riders, and computing surge pricing.
A file sync and storage service using content-defined chunking, block-level deduplication, a metadata service, and sync with conflict resolution across devices.
Design a web-scale search engine with an inverted index, distributed crawling and indexing, relevance ranking, and low-latency autocomplete backed by tries.
Design a multi-channel notification platform delivering push, email, and SMS at scale using queue-based fanout, per-user rate limiting, retries with backoff, and deduplication.
Design a payment gateway with idempotent APIs, a double-entry ledger, exactly-once processing, PSP integration, and reconciliation under strong consistency.
Design a distributed rate limiter using token bucket and sliding window algorithms with Redis-backed counters to enforce per-user and per-API request limits.
Design a social news feed covering feed generation, fanout-on-write vs fanout-on-read, ranking, and caching of hot feeds for millions of users.
Design a three-sided food delivery platform: customer ordering, restaurant order management, geospatial courier matching, order lifecycle, and live tracking.