arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.08114cs.DCcs.CR
收藏

Leopard:面向大规模系统的高吞吐量保持BFT

Leopard: Towards High Throughput-Preserving BFT for Large-scale Systems

Kexin Hu, Kaiwen Guo, Qiang Tang, Zhenfeng Zhang, Hao Cheng, Zhiyang Zhao

摘要:

随着大规模分布式应用的出现,需要一种可扩展的高效的拜占庭容错(Byzantine Fault Tolerant,BFT)协议。虽然现有的基于领导者的BFT协议的吞吐量已经达到了高水平的$10^5$请求每秒为小规模的副本,它显着下降时,副本的数量增加,这导致缺乏实用性。本文重点研究了BFT协议的可扩展性,并指出了基于领导者的BFT协议的一个主要瓶颈,这是由于领导者在大规模下的工作量过大。定义了一种新的度量尺度--伸缩因子,用来衡量BFT协议在扩展时是否会出现阻塞,从而衡量BFT协议的效率和可扩展性。我们提出了“豹”,第一个领导者为基础的BFT协议,可扩展到数百个副本,更重要的是,保持了高效率。我们通过引入一种实现恒定缩放因子的技术来消除瓶颈,该技术充分利用了空闲资源,并自适应地平衡了所有副本中领导者的工作负载。我们实现豹和评估其性能相比,HotStuff,最先进的BFT协议。我们在两个系统上运行了多达600个副本的广泛实验。结果表明,Leopard在吞吐量和可扩展性方面都取得了显着的性能改进。特别是,当系统扩展到600个副本时,Leopard的吞吐量保持在$10^5$的高水平。当规模为300时,它实现了$5\times$的吞吐量超过HotStuff(这已经是我们在实验中可以看到的最大规模),并且随着副本数量的进一步增加,差距变得更大。

英文摘要:

With the emergence of large-scale decentralized applications, a scalable and efficient Byzantine Fault Tolerant (BFT) protocol of hundreds of replicas is desirable. Although the throughput of existing leader-based BFT protocols has reached a high level of $10^5$ requests per second for a small scale of replicas, it drops significantly when the number of replicas increases, which leads to a lack of practicality. This paper focuses on the scalability of BFT protocols and identifies a major bottleneck to leader-based BFT protocols due to the excessive workload of the leader at large scales. A new metric of scaling factor is defined to capture whether a BFT protocol will get stuck when it scales out, which can be used to measure the performance of efficiency and scalability of BFT protocols. We propose "Leopard", the first leader-based BFT protocol that scales to multiple hundreds of replicas, and more importantly, preserves a high efficiency. We remove the bottleneck by introducing a technique of achieving a constant scaling factor, which takes full advantage of the idle resource and adaptively balances the workload of the leader among all replicas. We implement Leopard and evaluate its performance compared to HotStuff, the state-of-the-art BFT protocol. We run extensive experiments on the two systems with up to 600 replicas. The results show that Leopard achieves significant performance improvements both on throughput and scalability. In particular, the throughput of Leopard remains at a high level of $10^5$ when the system scales out to 600 replicas. It achieves a $5\times$ throughput over HotStuff when the scale is 300 (which is already the largest scale we can see the progress of the latter in our experiments), and the gap becomes wider as the number of replicas further increases.

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

↑