Early Detection for Multiversion Concurrency Control Conflicts in Hyperledger Fabric

01/15/2023
by   Helmi Trabelsi, et al.
0

Hyperledger Fabric is a popular permissioned blockchain system that features a highly modular and extensible system for deploying permissioned blockchains which are expected to have a major effect on a wide range of sectors. Unlike traditional blockchain systems such as Bitcoin and Ethereum, Hyperledger Fabric uses the EOV model for transaction processing: the submitted transactions are executed by the endorsing peer, ordered and batched by the ordering services, and validated by the validating peers. Due to this EOV workflow, a well-documented issue that arises is the multi-version concurrency control conflict. This happens when two transactions try to writes and read the same key in the ledger at the same time. Existing solutions to address this problem includes eliminating blocks in favor of streaming transactions, repairing conflicts during the ordering phase, and automatically merging the conflicting transactions using CRDT (Conflict Free Replicated Data) techniques. In this paper, we propose a novel solution called Early Detection for MVCC Conflicts. Our solution detects the conflicting transactions at an early stage of the transaction execution instead of processing them until the validation phase to be aborted. The advantage of our solution is that it detects conflict as soon as possible to minimize the overhead of conflicting transaction on the network resulting in the reduction of the end-to-end transaction latency and the increase of the system's effective throughput. We have successfully implemented our solution in Hyperledger Fabric. We propose three different implementations which realize early detection. Our results show that our solutions all perform better than the baseline Fabric, with our best solution SyncMap which improves the goodput by up to 23

READ FULL TEXT
research
11/15/2022

Operation-level Concurrent Transaction Execution for Blockchains

Despite the success in various scenarios, blockchain systems, especially...
research
04/03/2018

The Transactional Conflict Problem

The transactional conflict problem arises in transactional systems whene...
research
01/03/2019

FastFabric: Scaling Hyperledger Fabric to 20,000 Transactions per Second

Blockchain technologies are expected to make a significant impact on a v...
research
11/28/2019

Lockless Transaction Isolation in Hyperledger Fabric

Hyperledger Fabric is a distributed operating system for permissioned bl...
research
05/03/2022

Reality-based UTXO Ledger

The Unspent Transaction Output (UTXO) model is commonly used in the fiel...
research
12/13/2018

Processing Transactions in a Predefined Order

In this paper we provide a high performance solution to the problem of c...
research
07/19/2019

Optimizing Validation Phase of Hyperledger Fabric

Blockchain technologies are on the rise, and Hyperledger Fabric is one o...

Please sign up or login with your details

Forgot password? Click here to reset