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.
翻译:Hyperledger Fabric 的架构引入了模拟命令值和插件结构的新架构范例, 允许更大程度的定制化, 其中关键组件之一是世界状态数据库, 负责抓取块链应用程序状态的快照。 Hyperledger Fabric 管理状态, 在交易被验证后, 并在模拟过程中从状态中读取关键值数据库的抽象和对等更新。 因此, 在读写过程中提供良好的性能, 影响系统的总体性能。 目前, Hyperledger Fabric 支持了两个不同的州数据库。 一个是 级别DB, 嵌入的 DB, 以 LSM 树和 CouchDB 为基础。 在此研究中, 我们想集中搜索和探索国家数据库的替代实施方式, 并在有更好、 更可缩放的选项时进行分析 。 我们评估了不同的数据库, 将连接到 Hyperledger Fabric, 如 RocksDB、 Boltdb 和 BadgerDB 。 。 该研究描述了如何在各种国家数据库上设置新的数据库和绩效结果 。</s>