Redis cluster is a distributed database solution provided by Redis. The cluster shares data through sharding and provides replication and failover functions.
Node (Recommended Learning: Redis Video Tutorial )
## A Redis cluster usually consists of multiple nodes , initially each node is independent, and they are in a cluster containing only themselves. When the independent nodes are connected through the CLUSTER MEET
A node is actually a Redis server running in cluster mode. The functions it provides are consistent with ordinary Redis servers.
Cluster data structure
The data structure of the cluster mainly includes the following three:clusterState-->clusterNode-->clusterLink
The three of them are included in one The relationship is as shown in the figure below:
Each node contains a clusterState structure
For more Redis related technical articles, please visitRedis database usage introductory tutorial column to learn!
The above is the detailed content of What is redis node. For more information, please follow other related articles on the PHP Chinese website!