Home > Database > Redis > body text

What is Redis cluster

青灯夜游
Release: 2019-06-15 10:00:43
Original
6418 people have browsed it

What is Redis cluster

Redis cluster is a distributed, fault-tolerant Redis implementation. The functions that can be used by the cluster are a subset of the functions that can be used by ordinary stand-alone Redis. (subset).

There is no central node or proxy node in the Redis cluster. One of the main design goals of the cluster is to achieve linear scalability.

Redis Cluster provides a way to run Redis where data is automatically partitioned across multiple Redis nodes. Redis Cluster also provides a level of availability during partitioning, which is the ability to continue running even if some nodes fail or cannot communicate. However, if a major failure occurs (for example, when most masters are unavailable), the cluster will stop functioning.

Redis cluster model:

What is Redis cluster

What goals does Redis cluster achieve?

● Still performs well with 1000 nodes and the scalability is linear. Asynchronous replication is used between clusters, and there is no merge operation.

● Acceptable write safety (Write safety) level: The system attempts to save all write operations performed by clients connected to the majority of nodes. However, a small portion of writes will still be lost.

● Availability: The vast majority of master nodes are reachable, and for every unreachable master node there is at least one slave node that is reachable. In this case, the Redis cluster can still perform partition operations.

The above is the detailed content of What is Redis cluster. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!