Performance Analysis of the Raft Consensus Algorithm for Private Blockchains

08/03/2018
by   Dongyan Huang, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/26/2023

P-CFT: A Privacy-preserving and Crash Fault Tolerant Consensus Algorithm for Permissioned Blockchains

Consensus algorithms play a critical role in blockchains and directly im...
research
05/10/2022

QUANTAS: Quantitative User-friendly Adaptable Networked Things Abstract Simulator

We present QUANTAS: a simulator that enables quantitative performance an...
research
02/15/2021

An In-Depth Investigation of Performance Characteristics of Hyperledger Fabric

Private permissioned blockchains, such as Hyperledger Fabric, are widely...
research
04/28/2020

BlockSim: An Extensible Simulation Tool for Blockchain Systems

Both in the design and deployment of blockchain solutions many performan...
research
09/13/2019

A Random Network Model for the Analysis of Blockchain Designs with Communication Delay

This paper proposes a random network model for blockchains, a distribute...
research
05/28/2023

Analyzing Geospatial Distribution in Blockchains

Blockchains are decentralized; are they genuinely? We analyze blockchain...
research
01/21/2021

Comparison and Improvement for Delay Analysis Approaches: Theoretical Models and Experimental Tests

Computer network tends to be subjected to the proliferation of mobile de...

Please sign up or login with your details

Forgot password? Click here to reset