Cluster mode — multi-shard topology
Valkey Cluster Services
In short: Valkey Cluster mode is the horizontally sharded, distributed deployment of Valkey (the open-source Redis fork) that partitions the keyspace across 16,384 hash slots spread over multiple primary shards, each with its own replicas. Clients follow MOVED/ASK redirections to reach the correct shard, enabling scale beyond a single node's memory and CPU.
Shard sizing, slot rebalancing, replica placement, and client-side cluster awareness for Valkey 8 in Cluster mode. For single-primary HA with Sentinel see high availability; this page is specifically about 16,384-slot horizontal sharding.
Operating Surfaces
What we operate in Valkey Cluster mode
Shard Sizing & Topology
Working-set-to-shard-count modeling, replica placement across AZs/racks, replica count per master.
Slot Rebalancing
Online resharding planning, slot migration throttling, validating slot ownership convergence, post-reshard verification.
Client-Side Cluster Awareness
Client SDK audit for MOVED/ASK handling, slot-cache refresh tuning, pipeline-and-cluster compatibility.
Multi-Key Operations
Hash-tag design for atomic multi-key commands, MGET fan-out across shards, Lua-script-in-cluster constraints.
Failure Mode Engineering
Quorum sizing (cluster-node-timeout, cluster-require-full-coverage), partial-cluster behavior, split-brain prevention.
Cross-Region Federation
Cross-region replicas, region-aware client routing, federation patterns for active-active workloads (when CRDTs aren't required).
The Numbers
Cluster sizing — the numbers behind the recommendations
Three real cluster shapes we've operated, with the trade-offs each one optimizes for.
6 shards × 2 replicas
12 shards × 1 replica
24 shards × 3 replicas, multi-AZ
FAQ
Cluster mode FAQ
Design or rescue your Valkey Cluster
Greenfield cluster design or production-cluster-on-fire stabilization. Either way, send us the topology you have (or want) and the workload profile, and we'll come back with a sized plan.
Related Valkey Services
Explore more ways our Valkey experts can help with your database infrastructure.