A hot key concentrates traffic on one shard.
Local in-process caching (LRU cache in the app layer) with short TTL
Key hashing with suffix (product:1:{shard_0}, product:1:{shard_1}) to spread across slots — but loses atomic ops
Read replicas with READONLY mode in Cluster for read-heavy hot keys
Proxy-level fan-out (Twemproxy, Envoy)
If you notice a single key getting most of the read traffic in a Redis Cluster, what steps would you take to mitigate the hot key issue?
How would you configure Redis Cluster to spread the load of a hot key across multiple nodes?
What impact on latency would you expect if a hot key resides on a single shard while other shards are idle?
Your service is experiencing spikes in latency because a leaderboard key is a hot key in Redis Cluster. Walk me through how you would diagnose and resolve it, considering trade‑offs.
Explain why moving a hot key to a different hash slot might cause client‑side routing issues, and how you would handle them.
If you introduced client‑side sharding to split a hot key's data, what changes would you need in the application code and what pitfalls would you watch for?
Design a strategy to prevent hot keys in a Redis Cluster used for session storage at 10 M QPS, covering data modeling, key distribution, and fallback mechanisms.
How would you evaluate the impact of using Redis Cluster's hash tags versus a proxy layer to mitigate hot keys, and decide which to adopt?
Discuss how you would monitor and automatically remediate hot keys in production, including alert thresholds and rebalancing actions.
At a company‑wide scale, you need to migrate existing services away from a hot‑key‑prone Redis Cluster to a more balanced architecture. Outline the migration plan, cross‑team coordination, and how you’d ensure zero downtime.
What long‑term architectural patterns would you put in place to avoid hot keys across multiple Redis clusters, considering data partitioning, caching layers, and operational tooling?
If a critical business metric depends on a hot key that cannot be split, how would you redesign the system to meet latency SLAs while keeping the key centralized?