A journey towards the most efficient state database for Hyperledger Fabric

Authors: Ivan Laishevskiy, Artem Barger, Vladimir Gorgadze

IEEE International Conference on Blockchain and Cryptocurrency https://icbc2023.ieee-icbc.org/
License: CC BY 4.0

Results of the summarizing process for the arXiv paper: 2303.08875v1

  • Comprehensive Summary
  • Key points
  • Layman's Summary
  • Blog article
The Hyperledger Fabric is a well-known and widely used enterprise-grade permissioned blockchain platform. Its architecture introduces a new paradigm of simulate-order-validate and pluggable architecture, allowing for greater customization. One critical component of the Hyperledger Fabric is the world state database, which captures the snapshot of the blockchain application state. The key-value database abstraction manages the state, and peers update it after transactions have been validated and read from the state during simulation. Therefore, providing good performance during reading and writing impacts the system's overall performance. Currently, Hyperledger Fabric supports two different implementations of the state database: LevelDB and CouchDB. However, there may be better and more scalable options available. In this study conducted by Ivan Laishevskiy, Artem Barger, and Vladimir Gorgadze from Idea Blockchain Research Lab at Moscow Institute of Physics and Technology in Russia and Haifa in Israel respectively, they explore alternative implementations of a state database to identify more efficient options. The study evaluates different databases such as RocksDB, Boltdb, and BadgerDB that can be plugged into Hyperledger Fabric to improve its performance based on various workloads. The authors describe how to plug new state databases into HLF while analyzing their performance results. The State Database is one of HLF's most important elements as it stores a snapshot of the last blockchain network state. Peers rely on StateDB to read current values with their version to form Read-Set for transactions. During commit validation phase while executing multi-value concurrency control check peers read from StateDB to compare Read-Set versions. Finally once validation is over peer commits validated transactions into StateDB reflecting recent changes. This paper provides valuable insights into exploring alternative implementations of a state database for Hyperledger Fabric that can help organizations optimize their use cases by improving overall system performance while maintaining data integrity through secure storage mechanisms like key-value stores or other alternatives evaluated in this study. Overall, this study contributes to the ongoing research on blockchain technology and provides useful information for developers and organizations looking to optimize their use of Hyperledger Fabric.
AI-generated keywords: Hyperledger Fabric State Database Performance Key-Value Stores Blockchain Technology

AI-generated Key Points

  • Hyperledger Fabric is a widely used enterprise-grade permissioned blockchain platform
  • Its architecture allows for greater customization through simulate-order-validate and pluggable components
  • The world state database is a critical component that captures the snapshot of the blockchain application state
  • Peers update the key-value database abstraction after transactions have been validated and read from the state during simulation
  • Good performance during reading and writing impacts the system's overall performance
  • Currently, Hyperledger Fabric supports two different implementations of the state database: LevelDB and CouchDB, but there may be better options available
  • A study conducted by Ivan Laishevskiy, Artem Barger, and Vladimir Gorgadze explores alternative implementations of a state database to identify more efficient options such as RocksDB, Boltdb, and BadgerDB
  • The paper provides valuable insights into exploring alternative implementations of a state database for Hyperledger Fabric that can help organizations optimize their use cases by improving overall system performance while maintaining data integrity through secure storage mechanisms like key-value stores or other alternatives evaluated in this study.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Abstract: The Hyperledger Fabric is well known and the most prominent enterprise-grade permissioned blockchain. The architecture of the Hyperledger Fabric introduces a new architecture paradigm of simulate-order-validate and pluggable architecture, allowing a greater level of customization where one of the critical components is the world state database, which is responsible for capturing the snapshot of the blockchain application state. Hyperledger Fabric manages the state with the key-value database abstraction and peer updates it after transactions have been validated and read from the state during simulation. Therefore, providing good performance during reading and writing impacts the system's overall performance. Currently, Hyperledger Fabric supports two different implementations of the state database. One is LevelDB, the embedded DB based on LSM trees and CouchDB. In this study, we would like to focus on searching and exploring the alternative implementation of a state database and analyze whenever there are better and more scalable options. We evaluated different databases to be plugged into Hyperledger Fabric, such as RocksDB, Boltdb, and BadgerDB. The study describes how to plug new state databases and performance results based on various workloads.

Submitted to arXiv on 15 Mar. 2023

Tools for this paper

Explain it differently 3 free rewrites left today
Export BibTeX · RIS (Zotero, Mendeley, EndNote) · Markdown (Notion, Obsidian) · Premium
Citation alerts Premium
Journal club Slides to present it Premium
For journalists Press kit and hype check Premium

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.