SYSTEM DESIGN

Caching

Understand hits, misses, expiration and database work.

Intermediate

LRU cache eviction

Follow key accesses, recency updates and least-recently-used capacity evictions.

Open lesson
Intermediate

Cache stampede and request coalescing

Compare duplicate origin work with per-key single-flight under the same arrivals.

Open lesson