Tagged articles

Cache Concurrency

2 articles · Page 1 of 1
Code Farming
Code Farming
Jul 2, 2026 · Backend Development

Five Fatal Cache Pitfalls Explained with Five Diagrams

The article outlines five common cache design problems—penetration, concurrency, avalanche, hot‑data management, and business‑cache coupling—illustrates each with a diagram, and provides concrete Redis‑based solutions such as placeholder values, setNX locks, random TTLs, sorted‑set queues, and a Binlog‑Canal‑MQ pipeline.

Cache AvalancheCache ConcurrencyCache Decoupling
0 likes · 7 min read
Five Fatal Cache Pitfalls Explained with Five Diagrams
21CTO
21CTO
May 10, 2016 · Backend Development

How to Prevent Cache Penetration, Concurrency, and Expiration Issues in Redis and Memcached

This article explains the three common cache problems—penetration, concurrency, and expiration—illustrates why they occur in high‑traffic systems, and provides practical techniques such as pre‑setting placeholder values, locking, and randomizing TTLs to keep databases healthy.

Cache ConcurrencyCache PenetrationMemcached
0 likes · 8 min read
How to Prevent Cache Penetration, Concurrency, and Expiration Issues in Redis and Memcached