ZooKeeper 集群

常见的集群模式是: Master/Slave 模式(主备模式)。在这种模式中,通常 Master 服务器作为主服务器提供写服务,其他的 Slave 服务器通过异步复制的方式来获取 Master 服务器最新的数据,并且提供读服务。 但是,在 ZooKeeper 中并没有选择传统的 Master/Slave 概念,而是引入了 Leader、Follower 和 Observer 三种角色,如下图所示:
相关文章
相关标签/搜索