Tagged articles
HotKey
18 articles · Page 1 of 1
This article walks through production‑grade Redis object‑storage design, comparing String and Hash data structures, explaining why large keys and hot keys can cripple performance, and presenting a decision tree, split strategies, thread‑model insights, code samples, and monitoring recommendations to build a scalable, observable cache layer.
BigKeyCacheDesignHash
0 likes · 34 min read

The article analyzes a Meituan interview question about caching 10 million MySQL rows when Redis can store only 200 thousand rows, presenting a five‑step three‑tier cache architecture that separates cold and hot data, selects appropriate eviction policies, uses proactive hotspot detection, adds multi‑level defense, and employs both scheduled and real‑time pre‑heating, with performance numbers showing an 85% hit rate and 100 ms latency.
HotKeyLFULRU
0 likes · 29 min read

During a major promotion a huge activity generated an oversized Redis cache key that caused cache‑penetration, saturated network bandwidth, and triggered a cascade of service failures, prompting a detailed root‑cause analysis and a set of mitigation and prevention measures.
BackendBigKeyCache
0 likes · 7 min read

The JD App backend hotkey framework provides millisecond‑level detection of bursty hot data, users, and interfaces, pushes the hot keys to all JVMs in the cluster, and dramatically reduces database query pressure while improving overall application performance.
BackendHotKeyJava
0 likes · 8 min read

A promotional event created an oversized Redis cache entry that, combined with cache‑penetration bursts, saturated network bandwidth and caused a service outage, prompting mitigation through Protostuff serialization, gzip compression, request throttling, and enhanced monitoring, while recommending design‑time cache planning and stress testing to prevent future big‑key failures.
BackendBigKeyCache
0 likes · 9 min read

The article describes a kernel‑level hot‑key detection module for Redis that tracks per‑second access counts via an O(1) LRU queue, flags keys exceeding configurable thresholds, and provides real‑time subscription alerts and queryable logs, overcoming the latency and overhead limitations of existing detection methods.
HotKeyRediskernel
0 likes · 11 min read

JD’s hot‑key detection framework instantly identifies bursty hot requests, pushes the hot keys to a clustered memory layer, and broadcasts them to all JVMs, enabling client‑side caching, user blocking, and circuit breaking, while handling up to 370 000 detections and 800 000 pushes per second and reducing backend query load by over 50 % in large‑scale events.
HotKeyJavadistributed
0 likes · 6 min read

The JD App backend hotkey framework instantly detects bursty hot data, users, and interfaces, pushes the hot keys to all JVMs in the cluster, and dramatically reduces database load while supporting fine‑grained rate limiting and caching across distributed services.
BackendHotKeydistributed
0 likes · 7 min read

JD-Hotkey is a backend framework that detects and pushes hot keys at millisecond precision, handling billions of keys daily with up to 370,000 detection tasks per second and 600,000 push operations per second, dramatically reducing data‑layer pressure and improving application performance across various caching and rate‑limiting scenarios.
Hot DataHotKey
0 likes · 5 min read

This guide explains how the EU‑mandated Windows search limitation led to the Everything Toolbar project, walks through installing and configuring the toolbar, shows how to disable the default Win+S hotkey via the registry, and highlights advanced usage features such as QuickLook integration and custom search syntax.
Everything ToolbarHotKeySystem Search
0 likes · 5 min read

This article explains what Redis hotkeys are, the performance and replication problems they cause, various techniques for detecting them—including client statistics, MONITOR, the HOTKEYS command, and TCP packet capture—and practical mitigation approaches such as sharding, multi‑level caching, and monitoring optimization.
HotKeyRedismonitoring
0 likes · 9 min read

BigKey and HotKey issues in Redis clusters arise when oversized keys block processing or a single key receives excessive requests, causing timeouts, memory overflow, shard collapse, and performance degradation, but can be detected during testing using Redis commands, visual clients, and open‑source analysis tools.
BigKeyCacheHotKey
0 likes · 8 min read

BigKey and HotKey are common Redis cluster problems that can degrade performance, cause timeouts, network congestion, and even system-wide failures; this article explains their definitions, impacts, detection methods, and practical mitigation strategies—including key splitting, local caching, and migration optimizations—based on real-world production cases.
BigKeyHotKeydatabase
0 likes · 22 min read

This article explains the concept of Redis data skew, its causes and impacts, explores data volume and access skew classifications, presents mitigation strategies, and provides a comprehensive source‑code walkthrough of JD's open‑source hotkey framework—including client, worker, and dashboard components—for detecting and handling hot keys in distributed cache clusters.
Distributed CachingHotKeyPerformance Optimization
0 likes · 54 min read

The HotKey middleware, built on JD’s 618 stable version 0.2, introduces protobuf serialization and optimizes data transmission, achieving up to 37 k QPS stable throughput, 15% lower CPU peaks, and millisecond‑level hot‑key detection and push across dozens of core JD services, dramatically reducing backend storage load.
Backend MiddlewareHot Data DetectionHotKey
0 likes · 5 min read

The article details JD's high‑performance Hotkey middleware, explaining its real‑time hot‑data detection architecture, the challenges faced during massive traffic spikes, and a series of systematic optimizations—including JDK upgrades, thread‑pool tuning, Disruptor replacement, and serialization changes—that enabled the system to scale from 20k to 350k queries per second while maintaining millisecond‑level latency.
DisruptorHotKeymiddleware
0 likes · 16 min read

The article introduces the JdHotkey framework, a lightweight, real‑time hotkey detection solution for Redis and other services, detailing the risks of hot keys, prior mitigation methods, core design components, operational workflow, and performance benchmarks across various hardware configurations.
Distributed SystemsHotKeyRedis
0 likes · 16 min read

This guide shows macOS developers how to transform iTerm2 into a floating, top‑of‑screen terminal that can be summoned and hidden with a single hotkey, covering profile creation, window appearance, custom shortcuts, cursor styling, color schemes, shell integration and handy utilities.
HotKeyProductivityiTerm2
0 likes · 11 min read
