Scaling Hyperledger Fabric Using Pipelined Execution and Sparse Peers

03/11/2020
by   Parth Thakkar, et al.
0

Many proofs of concept blockchain applications built using Hyperledger Fabric, a permissioned blockchain platform, have recently been transformed into production. However, the performance provided by Hyperledger Fabric is of significant concern for enterprises due to steady growth in network usage. Hence, in this paper, we study the performance achieved in a Fabric network using vertical scaling (i.e., by adding more vCPUs) and horizontal scaling (i.e., by adding more nodes) techniques. We observe that network scales very poorly with both of these techniques. With vertical scaling, due to serial execution of validation commit phases of transactions, the allocated vCPUs are underutilized. With horizontal scaling, due to redundant work between nodes, allocated resources are wasted though it is utilized. Further, we identify these techniques to be unsuited for dynamically scaling a network quickly to mitigate an overload situation, and hence, it results in a 30 in the performance. To increase the CPU utilization and hence the performance, we re-architect Fabric to enable pipelined execution of validation commit phases by introducing dirty state management using a trie data structure. Additionally, we facilitated the validation phase to validate transactions in parallel by introducing a waiting-transactions dependency graph. To avoid redundant work performed between nodes and to quickly scale up a network, we propose a new type of peer node called sparse peer, which selective commits transactions. Overall, we improved the throughput by 3x and reduced the time taken to scale up a network by 96

READ FULL TEXT

page 3

page 7

research
11/27/2020

A theory of transaction parallelism in blockchains

Decentralized blockchain platforms have enabled the secure exchange of c...
research
06/27/2019

DiPETrans: A Framework for Distributed Parallel Execution of Transactions of Blocks in Blockchain

In most of the modern day blockchain, transactions are executed serially...
research
07/19/2019

Optimizing Validation Phase of Hyperledger Fabric

Blockchain technologies are on the rise, and Hyperledger Fabric is one o...
research
02/16/2023

An Efficient Framework for Execution of Smart Contracts in Hyperledger Sawtooth

Blockchain technology is a distributed, decentralized, and immutable led...
research
03/14/2022

Block-STM: Scaling Blockchain Execution by Turning Ordering Curse to a Performance Blessing

Block-STM is a parallel execution engine for smart contracts, built arou...
research
05/28/2020

The Ritva Blockchain: Enabling Confidential Transactions at Scale

The distributed ledger technology has been widely hailed as the break-th...
research
09/12/2019

Flow: Separating Consensus and Compute

Throughput limitations of existing blockchain architectures are one of t...

Please sign up or login with your details

Forgot password? Click here to reset