Home > Database > Redis > What is redis node

What is redis node

(*-*)浩
Release: 2019-11-22 10:43:00
Original
3368 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template