Introduction to the Sentry
Sentinel is used to achieve high availability of Redis cluster, itself is also distributed, as a sentinel cluster to run, work with each other.
- During failover, determining whether a master node is down requires the agreement of most of the sentinels, which relates to distributed elections.
- Even if some of the sentinels fail, the sentinels will still work, because if a failover system that is an important part of the high availability mechanism is itself a single point of failure, it will be bad.