Library
System Design Library
102 real-world system design breakdowns for products like feeds, chat, payments, search, storage, analytics, and collaboration.
2pc
Aggregation
Ann
Auction
Availability
Batch
Bloom-filter
Caching
Build a CDNCache and serve content from edge locations worldwide with smart invalidation.DNS ResolverResolve domain names to IPs fast, globally, with heavy caching.Link Preview / UnfurlGenerate rich previews (title/image) for pasted URLs, safely and fast.URL Shortener (TinyURL)Map billions of long URLs to short codes and redirect in <50ms.
Catalog
Cdn
Chunking
Config
Consensus
Consistency
Consistent-hashing
Counting
Crdt
Collaborative IDEMultiple users editing and running code together in a shared cloud workspace.Collaborative SpreadsheetRealtime multi-user spreadsheet with formulas that recalculate.Collaborative Whiteboard (Miro)Realtime multi-user canvas of shapes/strokes that converges.CRDT / Conflict-Free StoreLet many replicas update concurrently and converge automatically, even offline.Google Docs (collaborative editor)Many users editing one document simultaneously, seeing each other's keystrokes live and converging.
Data-modeling
Edge
Experimentation
Failure-detection
Fan-out
Facebook News FeedA ranked, personalized feed mixing friends' posts, pages and ads.Live Comments (Twitch/YouTube)Stream live comments to millions of concurrent viewers of one stream.PinterestSave and discover images on boards, with a recommendation-heavy feed.Push Notification GatewayDeliver mobile push to billions of devices via APNs/FCM reliably.Stock Price FeedPush live price ticks to millions of subscribed clients with minimal latency.Twitter / News FeedDeliver each user a timeline of recent posts from people they follow — instantly, at 300M users.
Geo
Airbnb / BookingSearch listings by location/dates and book without double-booking.Food Delivery (DoorDash)Connect customers, restaurants and couriers with live order tracking.Google MapsRender maps and compute fast routes over a planet-scale road graph.Tinder / MatchingShow nearby profiles and create matches on mutual likes.Uber / Ride DispatchMatch riders to nearby drivers in realtime as millions of locations update every few seconds.Yelp / Nearby PlacesFind businesses near a location with filters, reviews and ratings.
Gossip
Graph
Id-generation
Idempotency
Ingestion
Inverted-index
Ledger
Log
Lsm
Sorted Store (BigTable)A sorted, sparse, distributed map from (row, column, time) → value at petabyte scale.Storage Engine (LSM vs B-Tree)Design the on-disk structure a database uses to store and retrieve data.Wide-Column Store (Cassandra)A write-optimized, masterless, partitioned column store with tunable consistency.
Matching
Ml
Ml-pipeline
Ml-serving
Nested
Object-storage
Dropbox / File SyncSync files across a user's devices reliably and efficiently, including huge files.Image Hosting (Imgur)Upload, store, and serve images globally with multiple sizes.InstagramPhoto/video sharing with feeds, at billions of media objects.Object Storage (Amazon S3)Store exabytes of objects with 11 nines of durability and high availability.PastebinStore and serve text/code snippets by short URL, some large, some private.
Observability
Olap
Proxy
Queues
Code Deployment (CI/CD)Build, test and safely roll out code to thousands of servers.Distributed Job Scheduler (cron)Run scheduled & one-off jobs reliably across a cluster, exactly-once-ish, at scale.Notification SystemSend push/email/SMS notifications reliably across channels, at scale, without spamming.Online Judge (LeetCode)Run untrusted user code against test cases safely, at scale.Web CrawlerCrawl billions of pages: fetch, parse, dedupe, and feed an index, politely.Webhook DeliveryReliably deliver event callbacks to customer HTTP endpoints, with retries.
Raft
Ranking
Rate-limiting
Realtime
Security
Sorted-set
Storage
Streaming
Ad Click AggregatorCount billions of ad clicks in near-real-time for dashboards & billing, accurately.Fraud DetectionFlag fraudulent transactions in realtime without blocking good users.Live Streaming (Twitch)Ingest a streamer's feed and broadcast to millions with low latency.Realtime Analytics DashboardLive dashboards over high-volume event streams (clicks, metrics).
Time-series
Transactions
Trie
Webrtc
Websockets
Part of SystemLore — browse the Academy, Library, Agentic AI systems, Glossary, and "X vs Y" comparisons. Open the interactive System Design Library.