Intermediate
Open lesson
LRU cache eviction
Follow key accesses, recency updates and least-recently-used capacity evictions.
SYSTEM DESIGN
Understand hits, misses, expiration and database work.
Follow key accesses, recency updates and least-recently-used capacity evictions.
Compare duplicate origin work with per-key single-flight under the same arrivals.