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

许可区块链通过镜子:架构和实施经验教训

Permissioned Blockchain Through the Looking Glass: Architectural and Implementation Lessons Learned

Suyash Gupta, Sajjad Rahnama, Mohammad Sadoghi

摘要:

自比特币诞生以来,分布式系统社区就对设计高效的区块链系统表现出了兴趣。然而,最初的区块链应用程序(如比特币)的吞吐量非常低,这促进了许可区块链系统的设计。这些许可的区块链系统采用经典的拜占庭容错(BFT)协议来达成共识。然而,现有的许可区块链系统仍然达到低吞吐量(大约10 K txns/s)。其结果是,现有的作品归咎于相关的BFT协议,并在开发优化的协议消耗资源的低吞吐量。我们认为,这种指责只是片面的。具体来说,我们提出了一个简单的问题:一个精心设计的系统,基于一个经典的BFT协议优于现代协议?我们表明,设计这样一个精心制作的系统是可能的,并说明,即使这样的系统采用三阶段协议,它可以优于另一个系统利用单阶段协议。这项工作要求我们剖析一个许可的区块链系统,并强调影响其性能的不同因素。基于我们的见解,我们提出了我们的企业级,高吞吐量的许可区块链系统ResilientDB的设计,该系统采用多线程深度管道,以平衡副本的任务,并为未来的设计提供指导。

英文摘要:

Since the inception of Bitcoin, the distributed systems community has shown interest in the design of efficient blockchain systems. However, initial blockchain applications (like Bitcoin) attain very low throughput, which has promoted the design of permissioned blockchain systems. These permissioned blockchain systems employ classical Byzantine-Fault Tolerant (BFT) protocols to reach consensus. However, existing permissioned blockchain systems still attain low throughputs (of the order 10K txns/s). As a result, existing works blame this low throughput on the associated BFT protocol and expend resources in developing optimized protocols. We believe such blames only depict a one-sided story. In specific, we raise a simple question: can a well-crafted system based on a classical BFT protocol outperform a modern protocol? We show that designing such a well-crafted system is possible and illustrate that even if such a system employs a three-phase protocol, it can outperform another system utilizing a single-phase protocol. This endeavor requires us to dissect a permissioned blockchain system and highlight different factors that affect its performance. Based on our insights, we present the design of our enterprise-grade, high-throughput yielding permissioned blockchain system, ResilientDB, that employs multi-threaded deep pipelines, to balance tasks at a replica, and provides guidelines for future designs.

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

↑