Tag

asynchronous cache

1 views collected around this technical thread.

Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 5, 2018 · Backend Development

Cache Breakdown (Cache Penetration) and Mitigation Strategies: Mutex Lock, Asynchronous Cache, and Bloom Filter

This article explains the concept of cache breakdown, illustrates why malicious requests can bypass caches and overload databases, and presents three practical mitigation techniques—using a Redis SETNX‑based mutex lock, asynchronous cache rebuilding, and a Bloom filter—along with their advantages, drawbacks, and performance testing results.

CacheCache BreakdownRedis
0 likes · 7 min read
Cache Breakdown (Cache Penetration) and Mitigation Strategies: Mutex Lock, Asynchronous Cache, and Bloom Filter