Penetration, Breakdown, & Snowslide

Difficulty: Advanced

Question

Explain Cache Penetration and Snowslide.

Answer

Penetration: Many requests for non-existent data hit the DB. Snowslide: Many keys expire at once, flooding the DB. Fix with Bloom filters and random TTL jitter.

Concepts covered

Cache Penetration, Cache Breakdown, Cache Snowslide, Bloom Filters