ZooKeeper源碼解析(六):ZooKeeper的三種選舉算法

zookeeper中有三種選舉算法,分別是LeaderElection,FastLeaderElection,AuthLeaderElection, FastLeaderElection和AuthLeaderElection是類似的選舉算法,唯一區別是後者加入了認證信息, FastLeaderElection比LeaderElection更高效。我們只分析前兩種算法。 LeaderElection
相關文章
相關標籤/搜索