Self-test
Check your understanding
Self-test10 questions
How is a key mapped to a node in Redis Cluster? Why slots instead of hashing keys directly to nodes?
What's the difference between a MOVED and an ASK redirect?
Why do cluster-aware clients rarely see redirects in steady state?
Why does
MSET a 1 b 2fail in a cluster, and how do hash tags fix it?How can hash tags create a hot shard? Give a good and a bad tag.
What happens to the whole cluster when a primary and its replica both fail? Which setting changes that?
How does a manual
CLUSTER FAILOVERavoid losing writes?What happens to keys during resharding, and why are big keys a problem then?
When should you move from Sentinel to Cluster?
- Design question
Plan growing a 3-primary cluster to 6 primaries with zero downtime: steps, order, what to monitor, and how to roll back.