Dissecting the Performance of Chained-BFT

Fangyu Gai, Ali Farahbakhsh, Jianyu Niu, Chen Feng, Ivan Beschastnikh +1 more
3/1/2021
38 citations
cs.CRcs.DC

Official code: gitferry/bamboo (57 stars, Go, MIT, last commit 2023-02-25).

Abstract

Permissioned blockchains employ Byzantine fault-tolerant (BFT) state machine replication (SMR) to reach agreement on an ever-growing, linearly ordered log of transactions. A new paradigm, combined with decades of research in BFT SMR and blockchain (namely chained-BFT, or cBFT), has emerged for directly constructing blockchain protocols.

Show full abstract

Chained-BFT protocols have a unifying propose-vote scheme instead of multiple different voting phases with a set of voting and commit rules to guarantee safety and liveness. However, distinct voting and commit rules impose varying impacts on performance under different workloads, network conditions, and Byzantine attacks. Therefore, a fair comparison of the proposed protocols poses a challenge that has not yet been addressed by existing work. We fill this gap by studying a family of cBFT protocols with a two-pronged systematic approach. First, we present an evaluation framework, Bamboo, for quick prototyping of cBFT protocols and that includes helpful benchmarking facilities. To validate Bamboo, we introduce an analytic model using queuing theory which also offers a back-of-the-envelope guide for dissecting these protocols. We build multiple cBFT protocols using Bamboo and we are the first to fairly compare three representatives (i.e., HotStuff, two-chain HotStuff, and Streamlet). We evaluated these protocols under various parameters and scenarios, including two Byzantine attacks that have not been widely discussed in the literature. Our findings reveal interesting trade-offs (e.g., responsiveness vs. forking-resilience) between different cBFT protocols and their design choices, which provide developers and researchers with insights into the design and implementation of this protocol family.

View on arXivView PDF

Code Implementations(1)

gitferry/bambooOfficial100%
MIT

Source code for the ICDCS 2022 paper "Dissecting the Performance of Chained-BFT"

5725Go, PythonMay 27, 20203 years agoMIT
bftblockchainconsensusstate-machine-replication

Similar Papers

Cite this paper

@article{gai2021dissecting,
  title  = {Dissecting the Performance of Chained-BFT},
  author = {Fangyu Gai and Ali Farahbakhsh and Jianyu Niu and Chen Feng and Ivan Beschastnikh and Hao Duan},
  year   = {2021},
  eprint = {2103.00777},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.00777}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.00777.svg)](https://codeofpaper.com/paper/2103.00777)

Discussion