arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.04947cs.DC
收藏

流水线结构HotStuff的性能研究

On the Performance of Pipelined HotStuff

Jianyu Niu, Fangyu Gai, Mohammad M. Jalalzai, Chen Feng

摘要:

HotStuff是一个最先进的拜占庭容错共识协议。它可以被流水线化以构建大规模的区块链。其中一个名为LibraBFT的变体被Facebook的Libra区块链采用。尽管众所周知,流水线HotStuff对于多达$1/3$的拜占庭节点是安全的,但是其在吞吐量和延迟方面的性能仍然没有得到充分的研究。在本文中,我们开发了一个多指标的评估框架来定量分析流水线\mbox{HotStuff's performance}的链增长率,链质量和延迟。然后,我们提出了两种攻击策略,并评估其对流水线HotStuff的性能的影响。分析表明,当$1/3$节点为Byzantine节点时,在我们的攻击下,流水线HotStuff的链增长率(相应地,链质量)可以下降到没有攻击时的4/9(相应地,12/17)。作为另一个应用,我们使用我们的框架来评估LibraBFT采用的某些工程优化。我们发现,这些优化使系统更容易受到我们的攻击比原来的流水线HotStuff。最后,我们提供了两个对策来挫败这些攻击。我们希望我们的研究可以阐明对最先进的流水线HotStuff协议及其变体的严格理解。

英文摘要:

HotStuff is a state-of-the-art Byzantine fault-tolerant consensus protocol. It can be pipelined to build large-scale blockchains. One of its variants called LibraBFT is adopted in Facebook's Libra blockchain. Although it is well known that pipelined HotStuff is secure against up to $1/3$ of Byzantine nodes, its performance in terms of throughput and delay is still under-explored. In this paper, we develop a multi-metric evaluation framework to quantitatively analyze pipelined \mbox{HotStuff's performance} with respect to its chain growth rate, chain quality, and latency. We then propose two attack strategies and evaluate their effects on the performance of pipelined HotStuff. Our analysis shows that the chain growth rate (resp, chain quality) of pipelined HotStuff under our attacks can drop to as low as 4/9 (resp, 12/17) of that without attacks when $1/3$ nodes are Byzantine. As another application, we use our framework to evaluate certain engineering optimizations adopted by LibraBFT. We find that these optimizations make the system more vulnerable to our attacks than the original pipelined HotStuff. Finally, we provide two countermeasures to thwart these attacks. We hope that our studies can shed light on the rigorous understanding of the state-of-the-art pipelined HotStuff protocol as well as its variants.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑