【问题标题】:Now that Redis Cluster comes with sharding, replication and automatic failover, do i still need to use Sentinel for failover handling?现在 Redis Cluster 带有分片、复制和自动故障转移,我还需要使用 Sentinel 进行故障转移处理吗?
【发布时间】:2023-03-26 08:05:01
【问题描述】:

现在 Redis Cluster 带有分片、复制和自动故障转移,我还需要使用 Sentinel 进行故障转移处理吗?

【问题讨论】:

    标签: redis redis-sentinel redis-cluster


    【解决方案1】:

    没有。 Sentinel 用于在单实例模式(单主/一个或多个从属)中使用 Redis 时管理可用性并提供服务发现。在集群模式下使用 Redis 时,不需要 Sentinel。

    【讨论】:

    • 谢谢。对于我的云部署应该采用什么架构,我真的很困惑。
    • 为什么分片时不需要哨兵?
    • @DonRhummy 因为 Redis Cluster 有自己的故障转移和发现机制
    猜你喜欢
    • 2014-10-12
    • 2013-04-25
    • 1970-01-01
    • 2014-10-05
    • 2019-05-18
    • 2017-11-15
    • 2015-09-18
    • 1970-01-01
    • 2016-03-19
    相关资源
    最近更新 更多