In this paper, we demonstrate how Hyperledger Fabric, one of the most popular permissioned blockchains, can benefit from network-attached acceleration. The scalability and peak performance of Fabric is primarily limited by the bottlenecks present in its block validation/commit phase. We propose Blockchain Machine, a hardware accelerator coupled with a hardware-friendly communication protocol, to act as the validator peer. It can be adapted to applications and their smart contracts, and is targeted for a server with network-attached FPGA acceleration card. The Blockchain Machine retrieves blocks and their transactions in hardware directly from the network interface, which are then validated through a configurable and efficient block-level and transaction-level pipeline. The validation results are then transferred to the host CPU where non-bottleneck operations are executed. From our implementation integrated with Fabric v1.4 LTS, we observed up to 17x speedup in block validation when compared to the software-only validator peer, with commit throughput of up to 95,600 tps (~4.5x improvement over the best reported in literature).
翻译:在本文中,我们展示了最受欢迎的特许链链链之一超升格法布里克如何能从网络连接加速中获益。 Fabric的可缩放性和峰值性表现主要受到其区块验证/承诺阶段存在的瓶颈的限制。我们提议了块链机,一个硬件加速器,加上一个硬件友好的通信协议,作为验证对等器。它可以适应应用程序及其智能合同,并针对一个带有网络连接的FPGA加速卡的服务器。 块链机直接从网络界面中检索区块及其硬件交易,然后通过一个可配置的高效区块水平和交易水平的管道进行验证。然后,验证结果被转移到执行非瓶颈操作的东道方 CPU 。从我们与Fabric v1.4 LTS 整合的操作中,我们观察到与仅使用软件的验证器对区块进行17x速度的验证,并投入多达95,600吨的吞吐量(相对于文献中报告的最佳管道而言的改进程度为4.5x)。