Skip to main content
QUICK REVIEW

[Paper Review] How to Databasify a Blockchain: the Case of Hyperledger Fabric

Ankur Sharma, Felix Schuhknecht|arXiv (Cornell University)|Oct 31, 2018
Distributed systems and fault toleranceComputer Science12 references9 citations
TL;DR

This paper proposes Fabric++, an enhanced version of Hyperledger Fabric that integrates database-inspired optimizations—transaction reordering and early abort—to significantly improve transaction throughput. By reordering transactions to reduce serialization conflicts and aborting invalid ones early in the pipeline, Fabric++ achieves up to a 3x increase in successful transaction throughput compared to vanilla Fabric, while preserving scalability.

ABSTRACT

Within the last few years, a countless number of blockchain systems have emerged on the market, each one claiming to revolutionize the way of distributed transaction processing in one way or the other. Many blockchain features, such as byzantine fault tolerance (BFT), are indeed valuable additions in modern environments. However, despite all the hype around the technology, many of the challenges that blockchain systems have to face are fundamental transaction management problems. These are largely shared with traditional database systems, which have been around for decades already. These similarities become especially visible for systems, that blur the lines between blockchain systems and classical database systems. A great example of this is Hyperledger Fabric, an open-source permissioned blockchain system under development by IBM. By having a relaxed view on BFT, the transaction pipeline of Fabric highly resembles the workflow of classical distributed databases systems. This raises two questions: (1) Which conceptual similarities and differences do actually exist between a system such as Fabric and a classical distributed database system? (2) Is it possible to improve on the performance of Fabric by transitioning technology from the database world to blockchains and thus blurring the lines between these two types of systems even further? To tackle these questions, we first explore Fabric from the perspective of database research, where we observe weaknesses in the transaction pipeline. We then solve these issues by transitioning well-understood database concepts to Fabric, namely transaction reordering as well as early transaction abort. Our experimental evaluation shows that our improved version Fabric++ significantly increases the throughput of successful transactions over the vanilla version by up to a factor of 3x.

Motivation & Objective

  • To investigate conceptual similarities and differences between blockchain systems like Hyperledger Fabric and classical distributed database systems.
  • To identify performance bottlenecks in Fabric’s transaction pipeline stemming from suboptimal transaction ordering and late abort decisions.
  • To explore whether established database technologies can be effectively transferred to improve blockchain system performance.
  • To design and evaluate a modified Fabric variant, Fabric++, that integrates database-inspired optimizations for improved throughput and efficiency.

Proposed method

  • Introduce an advanced transaction reordering mechanism that reorders transactions within a block to minimize serialization conflicts, increasing the number of valid transactions.
  • Implement early abort at multiple stages of the transaction pipeline to detect and reject invalid transactions before they consume resources.
  • Optimize the transaction flow by decoupling simulation and ordering phases, allowing earlier detection of conflicts and reducing pipeline contention.
  • Evaluate the performance of Fabric++ across 108 different workload and system configurations, comparing throughput and failure rates to vanilla Fabric.
  • Use a configurable benchmark setup with varying block sizes, read-write ratios, and client/channel counts to assess scalability and optimization impact.
  • Analyze the contribution of each optimization (reordering and early abort) individually and in combination through controlled experiments.

Experimental results

Research questions

  • RQ1What conceptual similarities and differences exist between Hyperledger Fabric and classical distributed database systems?
  • RQ2To what extent can established database techniques be applied to improve the performance of permissioned blockchain systems like Fabric?
  • RQ3How do transaction reordering and early abort mechanisms impact the throughput and efficiency of Fabric’s transaction pipeline?
  • RQ4What is the combined effect of reordering and early abort on transaction throughput, and how do they interact in practice?
  • RQ5How does Fabric++ scale with increasing numbers of channels and clients compared to vanilla Fabric?

Key findings

  • Fabric++ achieves up to a 3x improvement in throughput of successful transactions compared to vanilla Fabric under optimal configurations.
  • Activating either transaction reordering or early abort alone increases throughput from ~100 to ~150 successful transactions per second.
  • Activating both optimizations simultaneously achieves a peak throughput of approximately 220 successful transactions per second, demonstrating synergistic performance gains.
  • The combination of early abort and reordering reduces pipeline contention by ensuring only transactions with a realistic chance of success are considered for reordering.
  • Scaling across multiple channels improves throughput up to 4 channels, after which resource contention causes throughput degradation and increased transaction failures.
  • Increasing the number of clients per channel leads to higher failure rates and reduced throughput due to resource competition, especially in Fabric++, where the performance drop is more pronounced at high client counts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.