Lockless Transaction Isolation in Hyperledger Fabric

11/28/2019
by   Hagar Meir, et al.
0

Hyperledger Fabric is a distributed operating system for permissioned blockchains hosted by the Linux Foundation. It is the first truly extensible blockchain system for running distributed applications at enterprise grade scale. To achieve this, Hyperledger Fabric introduces a novel execute-order-validate blockchain architecture, allowing parallelization of transaction execution and validation. However, this raises the need for transaction isolation. Today transaction isolation is attained by locking the entire state database during simulation of transactions and database updates. This lock is one of the major performance bottlenecks as observed by previous work. This work presents a new lock-free approach for providing transaction isolation. It harnesses the already existing versioning of key-value pairs in the database, used primarily for a read-write conflict detection during the validation phase, to create a version-based snapshot isolation. We further implement and evaluate our new approach. We show that our solution outperforms the current implementation by 8.1x and that it is comparable to the optimal solution where no isolation mechanism is applied.

READ FULL TEXT
research
03/30/2023

Lockless Blockchain Sharding with Multiversion Control

Sharding is used to address the performance and scalability issues of th...
research
03/15/2023

A journey towards the most efficient state database for Hyperledger Fabric

The Hyperledger Fabric is well known and the most prominent enterprise-g...
research
01/15/2023

Early Detection for Multiversion Concurrency Control Conflicts in Hyperledger Fabric

Hyperledger Fabric is a popular permissioned blockchain system that feat...
research
02/17/2023

Detecting Robustness against MVRC for Transaction Programs with Predicate Reads

The transactional robustness problem revolves around deciding whether, f...
research
12/10/2019

ChainifyDB: How to Blockchainify any Data Management System

Today's permissioned blockchain systems come in a stand-alone fashion an...
research
02/24/2023

Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction Protocol (Technical Report)

Two-phase-commit (2PC) has been widely adopted for distributed transacti...
research
08/06/2019

WiSer: A Highly Available HTAP DBMS for IoT Applications

In a classic transactional distributed database management system (DBMS)...

Please sign up or login with your details

Forgot password? Click here to reset