System Design
How real systems stay fast and stay up: spreading load, caching, limiting traffic, and surviving failure.
Load Balancing
How one address spreads requests over many servers, and the eight algorithms that decide who gets the next one.
Not started.Beginner14 minCache Eviction Policies
The cache is full. LRU, LFU, FIFO and Random each throw out a different item, and no policy wins on every workload.
Not started.Beginner10 minCaching Strategies
Cache-aside, read-through, write-through, write-behind and refresh-ahead: who writes, who reads, and when each serves stale data.
Not started.Intermediate12 minCache Stampede
One popular key expires and every request rebuilds it at once. Why it happens and three ways to stop it.
Not started.Intermediate8 minRate Limiting
Fixed window, sliding window, token bucket and leaky bucket face the same burst, and one of them lets twice the limit through.
Not started.Intermediate11 minConsistent Hashing
Add a server and most keys stay where they are. The hash ring, compared with plain modulo hashing.
Not started.Intermediate10 minRetries, Backoff and Jitter
A brief stall turns into an outage when every client retries at once. Exponential backoff and jitter spread them out.
Not started.Intermediate9 minSharding and Hot Keys
One shard drowns while the rest sit idle. Why adding servers does not help while one key owns the load.
Not started.Intermediate9 minQueues and Backpressure
Producers that are 1% faster than consumers build a queue that never ends. Backpressure is how the slow side says stop.
Not started.Intermediate9 minCascading Failures and Load Shedding
One server dies, the rest go over 100% and fall in turn. Refusing some requests keeps the others alive.
Not started.Intermediate9 minREST, gRPC or GraphQL
Three ways for programs to talk. Who calls it, how many round trips, and how strict the contract needs to be.
Not started.Beginner9 minMonolith or Microservices
Team size, deploy frequency and whether the parts scale differently: the questions that decide it.
Not started.Beginner8 min