Tagged articles

cache expiration

7 articles · Page 1 of 1
Lobster Programming
Lobster Programming
Jun 8, 2026 · Databases

Why Redis Cache Expiration Triggers System Spikes

The article explains how massive simultaneous expiration of Redis keys can overload the single‑threaded server, causing brief request blocking, response‑time spikes, and even memory‑related issues in master‑slave setups.

Lazy DeletionRediscache expiration
0 likes · 6 min read
Why Redis Cache Expiration Triggers System Spikes
FunTester
FunTester
Jun 28, 2025 · Backend Development

Optimizing User Info Cache Expiration in Redis for High‑Traffic Systems

This article explains why setting appropriate Redis expiration times for user information improves performance, describes a Java test case that simulates realistic access patterns, and outlines common cache‑expiration scenarios with practical testing guidelines to balance freshness, memory usage, and database load.

MySQLPerformance Testingcache expiration
0 likes · 8 min read
Optimizing User Info Cache Expiration in Redis for High‑Traffic Systems
21CTO
21CTO
Sep 6, 2019 · Backend Development

Mastering Cache Reads: Prevent Cache Penetration and Expiration in High‑Concurrency Systems

This article explains how to implement robust cache‑read logic with Redis, covering common pitfalls such as cache penetration and cache expiration, and demonstrates practical solutions—including placeholder caching and lock‑based cache rebuilding—to keep high‑traffic back‑ends performant and reliable.

Cache PenetrationPHPRedis
0 likes · 5 min read
Mastering Cache Reads: Prevent Cache Penetration and Expiration in High‑Concurrency Systems
ITPUB
ITPUB
May 18, 2017 · Backend Development

How to Prevent Cache Breakdown, Expiration, and Hot Key Issues in Distributed Systems

This article explains common problems of distributed caching such as cache breakdown, cache expiration, and hot‑key bottlenecks, and provides practical mitigation techniques including default null values, staggered expiration times, distributed locking, client‑side caching, and key sharding to maintain high‑concurrency performance.

Backend PerformanceCache BreakdownCaching Strategies
0 likes · 5 min read
How to Prevent Cache Breakdown, Expiration, and Hot Key Issues in Distributed Systems
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
21CTO
21CTO
Apr 25, 2016 · Backend Development

How to Proactively Refresh Memcached Before Expiration and Avoid DB Thundering Herd

This article explores why Memcached expiration can cause sudden DB overload and presents five practical strategies—including periodic DB refresh, lock‑based queries, dual‑key schemes, and time‑embedded values—to proactively update caches and keep backend performance stable.

Memcachedbackendcache expiration
0 likes · 8 min read
How to Proactively Refresh Memcached Before Expiration and Avoid DB Thundering Herd