Clustering & HA
Module Contents
1. Sharding & Hash Slots
Learn why Redis Cluster uses 16,384 hash slots and how keys are distributed using CRC16.
2. Topology & Gossip
Understand the P2P mesh architecture, the Cluster Bus, and how nodes gossip to detect failures.
3. Smart Clients & Redirection
Discover how clients find the right node using MOVED and ASK redirection errors.
4. Resharding & Scaling
A deep dive into online scaling, moving slots between nodes, and the MIGRATE command.
5. High Availability & Failover
How Redis Cluster automatically recovers from node failures using Replica Election and Raft-like consensus.
Review & Cheat Sheet
Test your knowledge with flashcards and a quick reference guide.
Module Chapters
Chapter 01
Sharding & Hash Slots
Sharding & Hash Slots
Start Learning
Chapter 02
Topology & Gossip
Topology & Gossip
Start Learning
Chapter 03
Smart Clients & Redirection
Smart Clients & Redirection
Start Learning
Chapter 04
Resharding & Scaling
Resharding & Scaling
Start Learning
Chapter 05
High Availability & Failover
High Availability & Failover
Start Learning
Chapter 06
Module Review: Clustering
Module Review: Clustering
Start Learning