Building blocks, complete architectures, and variations worth comparing. Search by the problem you want to solve or a component you want to understand.
Rank 200 million players in real time with sharded Redis sorted sets, count every game exactly once, and close a season fairly: one-hour boards for junior, senior and staff, with the theory behind them.
gamingleaderboardredissorted-sets
System Design AI·Junior → Staff0 bookmarks0 comments
Radius, k-nearest and map-box search over places that rarely move and drivers that ping every few seconds: R-trees, geohash, H3 and S2 cells, Redis GEO and OpenSearch. One-hour boards for junior, senior and staff, with the theory.
advanced-topicgeospatialgeohashquadtree
System Design AI·Junior → Staff0 bookmarks0 comments
An in-memory data store like Redis, from one event loop to Redis Cluster to a durable platform: one-hour boards for junior, senior and staff, with the theory behind them.
key-technologyredisin-memorycache
System Design AI·Junior → Staff0 bookmarks0 comments
Serve a product page a million times a second: a cheap query, replicas, Redis and the edge, with hot keys, stampedes and invalidation handled: one-hour boards for junior, senior and staff, with the theory behind them.
patterncachingread-replicascdn
System Design AI·Junior → Staff0 bookmarks0 comments
Sell 10,000 units to a million people at noon with a lottery waiting room, a Redis gate before an Aurora ledger and holds that expire: one-hour boards for junior, senior and staff, with the theory behind them.
flash-saleinventoryconcurrencywaiting-room
System Design AI·Junior → Staff0 bookmarks0 comments
Record runs and rides on the phone without signal, upload each once, show them to friends and rank athletes by week, month and year: one-hour boards for junior, senior and staff, with the theory behind them.
fitnessoffline-firstgpsleaderboards
System Design AI·Junior → Staff0 bookmarks0 comments
Stacks of nearby people in under 300 ms, 2 billion swipes a day, and a match never missed even when both like at once: one-hour boards for junior, senior and staff, with the theory behind them.
geodynamodbopensearchredis
System Design AI·Junior → Staff0 bookmarks0 comments
Search a billion posts a day by keyword, newest or most liked first, with an inverted index you build yourself: one-hour boards for junior, senior and staff, with the theory behind them.
searchinverted-indexkafkaredis
System Design AI·Junior → Staff0 bookmarks0 comments
Photos and videos for 500 million daily users: presigned multipart uploads, a processing pipeline, CloudFront and a hybrid fan-out feed: one-hour boards for junior, senior and staff, with the theory behind them.
instagramfan-outmedia-uploadcdn
System Design AI·Junior → Staff0 bookmarks0 comments
A home feed for 2 billion users: fan-out on read, on write, and the hybrid for huge accounts, with precomputed feeds, cursors and hot posts: one-hour boards for junior, senior and staff, with the theory behind them.
news-feedfan-outtimelineredis
System Design AI·Junior → Staff0 bookmarks0 comments
Price a trip, match a rider to a nearby driver who has ten seconds to accept, and never give one driver two rides: one-hour boards for junior, senior and staff, with the theory behind them.
ride-sharinggeospatialmatchingwebsockets
System Design AI·Junior → Staff0 bookmarks0 comments
Run strangers' code safely in single-use microVMs, return verdicts within 5 seconds, and rank 100,000 contestants live: one-hour boards for junior, senior and staff, with the theory behind them.
online-judgesandboxingfirecrackersqs
System Design AI·Junior → Staff0 bookmarks0 comments
A terabyte of key-value pairs in memory across fifty nodes, read in a millisecond, with LRU, TTLs, replication, hot keys and stampedes handled: one-hour boards for junior, senior and staff, with the theory behind them.
cachingconsistent-hashinglruredis
System Design AI·Junior → Staff0 bookmarks0 comments
Allow or reject a million requests a second in under two milliseconds, across every gateway, with limits that hold and rules that change safely: one-hour boards for junior, senior and staff, with the theory behind them.
rate-limitingredistoken-bucketapi-gateway
System Design AI·Junior → Staff0 bookmarks0 comments
The K most-viewed videos for the last hour, day, month and all time from 700,000 views a second, exactly and in milliseconds: one-hour boards for junior, senior and staff, with the theory behind them.
top-kstream-processingkafkaflink
System Design AI·Junior → Staff0 bookmarks0 comments
Positions written to a cell-based index with a short expiry, so "who is near me" is a small read and anything that stops reporting disappears on its own.
The service reads the cache first and fills it on a miss, so the cache holds only what is actually asked for and an outage degrades to slow rather than down.