Why Do My Blockchain Transactions Fail?: A Study of Hyperledger Fabric
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- AdaChain: A Learned Adaptive Blockchain cites A Transactional Perspective on Execute-order-validate Blockchains
- AdaChain: A Learned Adaptive Blockchain cites Qanaat: A Scalable Multi-Enterprise Permissioned Blockchain System with Confidentiality Guarantees
- Auto-Tuning with Reinforcement Learning for Permissioned Blockchain Systems cites A Transactional Perspective on Execute-order-validate Blockchains
- Qanaat: A Scalable Multi-Enterprise Permissioned Blockchain System with Confidentiality Guarantees cites A Transactional Perspective on Execute-order-validate Blockchains
- When Private Blockchain Meets Deterministic Database cites A Transactional Perspective on Execute-order-validate Blockchains
- How To Optimize My Blockchain? A Multi-Level Recommendation Approach cites A Transactional Perspective on Execute-order-validate Blockchains
Cited by top-tier papers8
- Auto-Tuning with Reinforcement Learning for Permissioned Blockchain SystemsMingxuan Li, Yazhe Wang, Shuai Ma, Chao Liu et al.VLDB 2023 · 32 citations
- Qanaat: A Scalable Multi-Enterprise Permissioned Blockchain System with Confidentiality GuaranteesMohammad Javad Amiri, Boon Thau Loo, Divy Agrawal, Amr El AbbadiVLDB 2022 · 26 citations
- When Private Blockchain Meets Deterministic DatabaseZiliang Lai, Chris Liu, Eric LoSIGMOD 2023 · 22 citations
- AdaChain: A Learned Adaptive BlockchainChenyuan Wu, Bhavana Mehta, Mohammad Javad Amiri, Ryan Marcus et al.VLDB 2023 · 20 citations
- How To Optimize My Blockchain? A Multi-Level Recommendation ApproachJeeta Ann Chacko, Ruben Mayer, Hans-Arno JacobsenSIGMOD 2023 · 14 citations
Builds on1
Related papers
- Revisiting OCC in Permissioned Blockchain via Fast Re-ExecutionMingrui Cao, Bin Cao, Weihao Peng, Mugen PengINFOCOM 2026
- FireLedger: A High Throughput Blockchain Consensus ProtocolYehonatan Buchnik, Roy FriedmanVLDB 2020 · 19 citations
- Blockchains vs. Distributed Databases: Dichotomy and FusionPingcheng Ruan, Tien Tuan Anh Dinh, Dumitrel Loghin, Meihui Zhang et al.SIGMOD 2021 · 68 citations
- Leveraging Public-Private Blockchain Interoperability for Closed Consortium InterfacingBishakh Chandra Ghosh, Tanay Bhartia, Sourav Kanti Addya, Sandip ChakrabortyINFOCOM 2021 · 84 citations
- NeuChain: A Fast Permissioned Blockchain System with Deterministic OrderingZeshun Peng, Yanfeng Zhang, Qian Xu, Haixu Liu et al.VLDB 2022 · 42 citations
