Tag

Slot Migration

1 views collected around this technical thread.

Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 8, 2025 · Databases

Manual Slot Migration in Redis Cluster: Step-by-Step Guide

This article explains how to manually migrate a hash slot in a Redis cluster by checking cluster status, setting importing and migrating slots, retrieving keys, using the MIGRATE command, and updating slot assignments across nodes, with detailed command examples and explanations.

ClusterDatabaseRedis
0 likes · 6 min read
Manual Slot Migration in Redis Cluster: Step-by-Step Guide
Architect
Architect
Jan 26, 2025 · Databases

Optimizing Redis Cluster Slot Migration to Reduce Latency and Improve High Availability

This article analyzes the latency and availability problems of native Redis cluster slot migration, proposes a master‑slave synchronization based redesign that batches slot transfers, reduces ask‑move and topology‑change overhead, and validates the solution with performance tests showing smoother latency and higher reliability.

ClusterDatabase OptimizationHigh Availability
0 likes · 16 min read
Optimizing Redis Cluster Slot Migration to Reduce Latency and Improve High Availability
vivo Internet Technology
vivo Internet Technology
Sep 11, 2024 · Databases

Redis Cluster Slot Migration Optimization Based on Master-Slave Replication Mechanism

Vivo’s storage team redesigned Redis cluster slot migration by disguising the target as a slave and using master‑slave replication with progressive loading, which eliminates ask‑move round trips, reduces latency spikes, consolidates topology updates, and ensures stable access and high availability during horizontal scaling.

ClusterDatabase OptimizationMaster-Slave Replication
0 likes · 14 min read
Redis Cluster Slot Migration Optimization Based on Master-Slave Replication Mechanism
Didi Tech
Didi Tech
Nov 21, 2023 · Databases

Investigation and Root Cause Analysis of a Redis Memory Leak in Production

An in‑depth, timeline‑driven investigation of a production Redis memory leak revealed that the custom 3.2.8 build’s getKeysInSlot function failed to free a temporary key‑array after traversing the radix‑tree, causing hundreds of megabytes of leaked SDS strings, which was fixed by adding a single free call and highlighted the need for functional code reviews and early leak detection.

LinuxMemory LeakRedis
0 likes · 10 min read
Investigation and Root Cause Analysis of a Redis Memory Leak in Production
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 3, 2018 · Databases

Understanding Redis Cluster: Architecture, Slot Sharding, Node Management, and High Availability

Redis Cluster is a distributed system that partitions its keyspace into 16,384 hash slots across up to 16,384 nodes, enabling automatic sharding, slot migration, replication, and high‑availability features such as automatic node discovery, master‑slave election, and online resharding without service interruption.

ClusterDatabaseHigh Availability
0 likes · 5 min read
Understanding Redis Cluster: Architecture, Slot Sharding, Node Management, and High Availability