SYSTEM DESIGN

Caching

Understand hits, misses, expiration and database work.

Beginner

Cache-aside

Watch the application handle cache hits, misses and TTL expiration.

Open lesson
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