Research on election time optimization of ZooKeeper distributed coordination service based on Raft algorithm

Lianbo Zhou, Guikun Cao

Abstract


In distributed system, ZooKeeper is a common coordination service. Its election algorithm is one of the core algorithms in
ZooKeeper cluster, which ensures the high availability and consistency of ZooKeeper. However, the time overhead in the election process
can aff ect the performance of the entire cluster. In order to improve the effi ciency of ZooKeeper cluster election, this paper studies the
election time optimization method of ZooKeeper cluster distributed coordination service based on Raft algorithm, analyzes the mechanism
of ZooKeeper election algorithm, puts forward the main sources of election time cost, and introduces the basic principle and characteristics
of Raft algorithm. And apply it to ZooKeeper election to reduce the number and complexity of election messages by pruning and batch
processing technology. Finally, this paper verifi es the eff ectiveness of the optimization method through experiments, and compares it with
other algorithms.

Keywords


Raft algorithm; ZooKeeper; Election time optimization; Distributed coordination services; Cluster performance

Full Text:

PDF

Included Database


References


[1] Yunhui Wang,Yi Yang,Wenzhong Zhang. ZooKeeper cluster performance optimization. Computer Engineering and Applications, 2021, 57(12): 42-45.

[2] Xiaoguang Zhao,Chang Liu. ZooKeeper election protocol optimization based on Raft algorithm. Information Network Security, 2020, 16(1): 109-114.

[3] Xiaokun MaJunying, Xu,Dong Li. ZooKeeper master selection process optimization based on Raft algorithm [J]. Micromachines & Applications, 2021,

40(7):91-95.

[4] Peng Zhang,Linlin Cheng,Zhiguo Zhang. ZooKeeper election time optimization based on Raft [J]. Journal of Huazhong University of Science and

Technology (Natural Science Edition),2020, 48(3):86-90.

[5] Renkui Chen,Yanlin You,Xianyi Li, etal. [J] ZooKeeper Cluster election strategy optimization based on Raft protocol. Journal of Computer Applications,

2021, 41(5):1218-1223.

[6] Yuanzhi Zhong,Xuesong Gao,Songbo Z heng. [J] ZooKeeper Cluster election optimization scheme based on Raft algorithm. Computer Engineering and

Design, 2021, 42(5):1640-1646.




DOI: https://doi.org/10.18686/esta.v10i3.436

Refbacks

  • There are currently no refbacks.


Copyright (c) 2023 Lianbo Zhou,Guikun Cao