Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图了解 Redis 复制(在此处描述)是否与 Redis Sentinel(在此处描述)相关,或者是完全不同的数据复制方法。
你同时使用它们。如果你有一个主服务器和几个从服务器,复制确保这三个之间的数据保持一致,但是如果主服务器死了,哨兵将处理从服务器提升为主服务器,将新请求重定向到新主服务器,并通知某人什么已经发生了。