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

为什么我的区块链交易会失败?Hyperledger Fabric(扩展版)研究 *

Why Do My Blockchain Transactions Fail? A Study of Hyperledger Fabric (Extended version)*

Jeeta Ann Chacko, Ruben Mayer, Hans-Arno Jacobsen

摘要:

许可的区块链系统承诺提供分散的信任和隐私。Hyperledger Fabric是目前最广泛的许可区块链系统之一,在工业界和学术界都得到了大力推广。由于其乐观并发模型,Fabric中的事务失败率可能成为瓶颈。虽然有积极的研究来减少故障,但缺乏对其根本原因的了解,因此缺乏关于如何为不同场景优化配置Fabric的指导方针。为了缩小这一差距,在本文中,我们首先介绍了Fabric中不同类型的事务失败的正式定义。然后,我们开发了一个全面的测试平台和基准测试系统HyperLedgerLab,以及四个代表实际用例的不同链码和一个链码/工作负载生成器。使用HyperLedgerLab,我们进行了详尽的实验,以分析Fabric的不同参数(如块大小,背书策略等)对交易失败的影响。我们进一步分析了文献中最近提出的三种优化,Fabric++,Streamchain和FabricSharp,并评估了它们在哪些条件下降低了故障率。最后,根据我们的研究结果,我们提供了建议,织物从业者就如何配置系统,也提出了新的研究方向。

英文摘要:

Permissioned blockchain systems promise to provide both decentralized trust and privacy. Hyperledger Fabric is currently one of the most wide-spread permissioned blockchain systems and is heavily promoted both in industry and academia. Due to its optimistic concurrency model, the transaction failure rates in Fabric can become a bottleneck. While there is active research to reduce failures, there is a lack of understanding on their root cause and, consequently, a lack of guidelines on how to configure Fabric optimally for different scenarios. To close this gap, in this paper, we first introduce a formal definition of the different types of transaction failures in Fabric. Then, we develop a comprehensive testbed and benchmarking system, HyperLedgerLab, along with four different chaincodes that represent realistic use cases and a chaincode/workload generator. Using HyperLedgerLab, we conduct exhaustive experiments to analyze the impact of different parameters of Fabric such as block size, endorsement policies, and others, on transaction failures. We further analyze three recently proposed optimizations from the literature, Fabric++, Streamchain and FabricSharp, and evaluate under which conditions they reduce the failure rates. Finally, based on our results, we provide recommendations for Fabric practitioners on how to configure the system and also propose new research directions.

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

↑