Tagged articles

Hot Key Detection

4 articles · Page 1 of 1
Lobster Programming
Lobster Programming
May 25, 2026 · Backend Development

Designing a System That Can Survive Sudden Spikes of One Million QPS

The article analyzes why simply adding Redis nodes cannot handle a sudden million‑QPS surge, then presents three practical solutions—key sharding, multi‑level caching with hot‑key detection, and distributed‑lock‑based fallback—to build a resilient high‑concurrency backend.

Cache ShardingDistributed LockHigh concurrency
0 likes · 7 min read
Designing a System That Can Survive Sudden Spikes of One Million QPS
JD Cloud Developers
JD Cloud Developers
Nov 4, 2024 · Databases

How Redis LFU Detects Hot Keys and Enables Client‑Side Caching

This article explains Redis 4.0's LFU‑based hot‑key detection mechanism, the probabilistic counter algorithm, its configuration options, and how Redis 6.0 introduces client‑side caching with tracking and broadcasting modes to keep client data consistent with the server.

Client Side CachingHot Key DetectionLFU
0 likes · 13 min read
How Redis LFU Detects Hot Keys and Enables Client‑Side Caching
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Apr 6, 2022 · Backend Development

Server-Side Caching: Local, Distributed, and Multi-Level Cache Architecture Practices

Server‑side caching improves performance by trading space for time, using local caches like HashMap, Guava, Ehcache, and Caffeine, distributed caches such as Redis, and multi‑level architectures that combine in‑process, distributed, and database layers, while employing consistency patterns, monitoring, and hot‑key detection.

Cache consistencyCachingCaffeine
0 likes · 16 min read
Server-Side Caching: Local, Distributed, and Multi-Level Cache Architecture Practices