链式BFT的性能分析
Dissecting the Performance of Chained-BFT
摘要:
许可区块链采用拜占庭容错(BFT)状态机复制(SMR),以就不断增长的线性有序交易日志达成一致。结合数十年来对BFT SMR和区块链(即Chained-BFT或cBFT)的研究,出现了一种新的范式,用于直接构建区块链协议。链式BFT协议具有统一的提议投票机制,而不是多个不同的投票阶段,具有一组投票和提交规则来保证安全性和活性。然而,不同的投票和提交规则在不同的工作负载、网络条件和拜占庭攻击下会对性能产生不同的影响。因此,对拟议的协议进行公平比较是一项挑战,现有工作尚未解决这一问题。我们通过研究一系列cBFT协议来填补这一空白,并采用双管齐下的系统方法。首先,我们提出了一个评估框架,竹,cBFT协议的快速原型,其中包括有用的基准设施。为了验证竹,我们引入了一个分析模型,使用排队论,这也提供了一个背面的信封指导解剖这些协议。我们使用Bamboo构建了多个cBFT协议,我们是第一个公平比较三个代表(即,HotStuff、双链HotStuff和Streamlet)。我们在各种参数和场景下评估了这些协议,包括两种尚未在文献中广泛讨论的拜占庭攻击。我们的发现揭示了有趣的权衡(例如,响应性与分叉弹性)之间的不同cBFT协议及其设计选择,这为开发人员和研究人员提供了对该协议家族的设计和实现的见解。
英文摘要:
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. 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。