arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.08875cs.DCcs.DB
收藏

探寻 Hyperledger Fabric 最高效状态数据库之旅

A journey towards the most efficient state database for Hyperledger Fabric

Ivan Laishevskiy, Artem Barger, Vladimir Gorgadze

AI总结:

本文针对 Hyperledger Fabric 世界状态数据库的性能瓶颈,探索并评估 RocksDB、Boltdb、BadgerDB 等可插拔替代方案及其在不同工作负载下的表现。

摘要:

Hyperledger Fabric 是广为人知且最突出的企业级许可区块链。Hyperledger Fabric 的架构引入了“模拟—排序—验证”的新型架构范式以及可插拔架构,从而支持更高程度的定制;其中一个关键组件是世界状态数据库,它负责捕获区块链应用状态的快照。Hyperledger Fabric 通过键值数据库抽象来管理状态,peer 在交易完成验证后更新该状态,并在模拟期间从状态中读取数据。因此,在读写过程中提供良好性能会影响系统的整体性能。目前,Hyperledger Fabric 支持状态数据库的两种不同实现:一种是 LevelDB,即基于 LSM 树的嵌入式数据库;另一种是 CouchDB。在本研究中,我们希望专注于寻找和探索状态数据库的替代实现,并分析是否存在更好、更具可扩展性的选择。我们评估了可插入 Hyperledger Fabric 的不同数据库,例如 RocksDB、Boltdb 和 BadgerDB。本研究描述了如何插入新的状态数据库,以及基于各种工作负载得到的性能结果。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑