Hyperledger Fabric Performance Characterization and Optimization Using GoLevelDB Benchmark

被引:40
作者
Nakaike, Takuya [1 ]
Zhang, Qi [2 ]
Ueda, Yohei [1 ]
Inagaki, Tatsushi [1 ]
Ohara, Moriyoshi [1 ]
机构
[1] IBM Res Tokyo, Tokyo, Japan
[2] IBM Watson Res Ctr, New York, NY USA
来源
2020 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND CRYPTOCURRENCY (IEEE ICBC) | 2020年
关键词
blockchain; hyperledger fabric; performance analysis;
D O I
10.1109/icbc48266.2020.9169454
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Hyperledger Fabric is an implementation that enables permissioned blockchains, which provide a general blockchain framework with identifiable participants for a variety of business applications. Although many performance issues of Hyperledger Fabric have been alleviated to some extent, its performance is still limited - e.g. 2.2k transactions per second in our experiment that executes two reads and two writes in a transaction. A major performance bottleneck is incurred by accesses to the databases that store the latest key-value pairs in the ledger data, indexes to transactions, and the update history. In this paper, we characterize the performance of database systems used in Hyperledger Fabric to identify optimization opportunities by running a Hyperledger Fabric GoLevelDB (HLF-GLDB) benchmark. We developed HLF-GLDB as a standalone benchmark to simulate database accesses in Hyperledger Fabric. Results of the performance characterization revealed that: (1) the data compression of GoLevelDB is a major performance bottleneck in Hyperledger Fabric, and disabling the compression improved the performance by 54%; (2) the size of a database affects the performance significantly. For example, when the size increased by four times, the performance degraded by 25%; (3) To reduce the database access overhead in chaincode, it is better to combine small values so that they can be represented by a single key.
引用
收藏
页数:9
相关论文
共 38 条
[21]   Profile-based Detection of Layered Bottlenecks [J].
Inagaki, Tatsushi ;
Ueda, Yohei ;
Nakaike, Takuya ;
Ohara, Moriyoshi .
PROCEEDINGS OF THE 2019 ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING (ICPE '19), 2019, :197-208
[22]   Optimizing Validation Phase of Hyperledger Fabric [J].
Javaid, Haris ;
Hu, Chengchen ;
Brebner, Gordon .
2019 IEEE 27TH INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS, AND SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS 2019), 2019, :269-275
[23]  
Kadena LLC, KAD
[24]  
Kocsis I., 2017, INT IBM CLOUD ACAD C
[25]  
Kokoris-Kogias E, 2016, PROCEEDINGS OF THE 25TH USENIX SECURITY SYMPOSIUM, P279
[26]   Proof of Vote: A High-Performance Consensus Protocol Based on Vote Mechanism & Consortium Blockchain [J].
Li, Kejiao ;
Li, Hui ;
Hou, Hanxu ;
Li, Kedan ;
Chen, Yongle .
2017 19TH IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS (HPCC) / 2017 15TH IEEE INTERNATIONAL CONFERENCE ON SMART CITY (SMARTCITY) / 2017 3RD IEEE INTERNATIONAL CONFERENCE ON DATA SCIENCE AND SYSTEMS (DSS), 2017, :466-473
[27]  
Linux Foundation, HYP FABR
[28]   Scalable Byzantine Consensus via Hardware-Assisted Secret Sharing [J].
Liu, Jian ;
Li, Wenting ;
Karame, Ghassan O. ;
Asokan, N. .
IEEE TRANSACTIONS ON COMPUTERS, 2019, 68 (01) :139-151
[29]   ON CONCURRENCY-CONTROL BY MULTIPLE VERSIONS [J].
PAPADIMITRIOU, CH ;
KANELLAKIS, PC .
ACM TRANSACTIONS ON DATABASE SYSTEMS, 1984, 9 (01) :89-99
[30]  
Pongnumkul S, 2017, 2017 26TH INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND NETWORKS (ICCCN 2017)