Redis › Clustering
What is Redis Cluster, and what problem does it solve compared to running a single Redis instance?
BeginnerAnswer
Redis Cluster is a way to run Redis across multiple connected nodes that automatically share data between them, solving the problem of a single Redis instance being limited by one server's available memory and processing power, letting you scale out horizontally as your data and traffic grow.
-- A minimal cluster requires at least three master nodes
redis-cli --cluster create node1:6379 node2:6379 node3:6379 --cluster-replicas 0Real-world example A growing application that outgrows a single Redis server's memory capacity moves to Redis Cluster, spreading its data across several servers that together can hold far more than any one machine alone.