Tech_Interview_Prep

Caching Strategies

Storing a fast copy of expensive-to-compute or expensive-to-fetch data — write policies, eviction, and the invalidation problem.

Q1.In a cache-aside (lazy-loading) strategy, what happens on a cache miss?

Q2.What is cache invalidation primarily concerned with?

Q3.What eviction policy removes the item that hasn't been accessed for the longest time when the cache is full?

Q4.What is a "cache stampede" (thundering herd)?