Home  >  Article  >  Database  >  What is redis node

What is redis node

(*-*)浩
(*-*)浩Original
2019-11-22 10:43:003337browse

What is redis node

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 command, they form a cluster. .

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:

What is redis nodeEach node contains a clusterState structure

For more Redis related technical articles, please visit

Redis 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn