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

03/08/2021
by   Jeeta Ann Chacko, et al.
0

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.

READ FULL TEXT

page 7

page 8

page 9

page 11

page 12

research
05/09/2022

SoK: Blockchain Decentralization

Blockchain empowers a decentralized economy by enabling distributed trus...
research
07/13/2022

Smart Red Belly Blockchain: Enhanced Transaction Management for Decentralized Applications

Decentralized Applications (DApps) have seen widespread use in the recen...
research
04/17/2020

On Blockchain Metatransactions

In cryptocurrencies, transaction fees are typically exclusively paid in ...
research
02/08/2020

Performance Modeling and Analysis of a Hyperledger-based System Using GSPN

As a highly scalable permissioned blockchain platform, Hyperledger Fabri...
research
04/12/2023

Tiered Mechanisms for Blockchain Transaction Fees

Blockchain systems come with the promise of being inclusive for a variet...
research
05/14/2018

The Gap Game

Blockchain-based cryptocurrencies secure a decentralized consensus proto...

Please sign up or login with your details

Forgot password? Click here to reset