Performance Analysis of the Raft Consensus Algorithm for Private Blockchains

被引:168
作者
Huang, Dongyan [1 ]
Ma, Xiaoli [2 ]
Zhang, Shengli [1 ]
机构
[1] Shenzhen Univ, Coll Informat Engn, Shenzhen 518060, Peoples R China
[2] Georgia Inst Technol, Sch Elect & Comp & Engn, Atlanta, GA 30332 USA
来源
IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS | 2020年 / 50卷 / 01期
关键词
Voting; Blockchain; Heart beat; Consensus algorithm; Packet loss; Transient analysis; network split probability; private blockchain; Raft consensus algorithm;
D O I
10.1109/TSMC.2019.2895471
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Consensus is one of the key problems in blockchains. There are many articles analyzing the performance of threat models for blockchains. But the network stability seems lack of attention, which in fact affects the blockchain performance. This paper studies the performance of a well adopted consensus algorithm, Raft, in networks with non-negligible packet loss rate. In particular, we propose a simple but accurate analytical model to analyze the distributed network split probability. At a given time, we explicitly present the network split probability as a function of the network size, the packet loss rate, and the election timeout period. To validate our analysis, we implement a Raft simulator and the simulation results coincide with the analytical results. With the proposed model, one can predict the network split time and probability in theory and optimize the parameters in Raft consensus algorithm.
引用
收藏
页码:172 / 181
页数:10
相关论文
共 22 条
[1]  
Akins B.W., 2013, A Whole New World: Income Tax Considerations of the Bitcoin Economy
[2]  
[Anonymous], 2018, CONSORTIUM CHAIN DEV
[3]  
[Anonymous], 2015, Hyperledger Project
[4]  
[Anonymous], P USENIX C USENIX AN
[5]  
[Anonymous], GERSHGORIN CIRCLE TH
[6]  
[Anonymous], WHIT NXT
[7]  
[Anonymous], DELEGATED PROOF STAK
[8]  
[Anonymous], MARKOV CHAINS
[9]  
[Anonymous], 2017, ZILLIQA TECHN WHIT
[10]   Practical byzantine fault tolerance and proactive recovery [J].
Castro, M ;
Liskov, B .
ACM TRANSACTIONS ON COMPUTER SYSTEMS, 2002, 20 (04) :398-461