Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Why should redis sentinel Cluster have more than 3 nodes?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail why there are more than 3 nodes in the redis sentinel cluster. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

More than 3 are by adding sentinel

The number of nodes improves the accuracy of the fault judgment version, because the leader's right to vote needs at least half plus one node, and the odd number of nodes can save one node on the basis of meeting this condition.

Because of the voting mechanism

The fail of a node in a cluster takes effect only when more than half of the nodes in the cluster detect failure. For example, there are only two nodes, hang up one, and the remaining vote will not exceed 50%, so at least three nodes are needed.

Redis prefers to build distributed zhi repositories on the server side.

The latest version of Redis already supports distributed dedicated storage functions. Redis Cluster is an advanced version of Redis that is distributed and allows a single point of failure. It has no central node and is linearly scalable.

About why the redis sentinel cluster needs more than 3 nodes to share here, I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report