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 条
[1]  
All In Bits Inc, TEND
[2]   Hyperledger Fabric: A Distributed Operating System for Permissioned Blockchains [J].
Androulaki, Elli ;
Barger, Artem ;
Bortnikov, Vita ;
Cachin, Christian ;
Christidis, Konstantinos ;
De Caro, Angelo ;
Enyeart, David ;
Ferris, Christopher ;
Laventman, Gennady ;
Manevich, Yacov ;
Muralidharan, Srinivasan ;
Murthy, Chet ;
Binh Nguyen ;
Sethi, Manish ;
Singh, Gari ;
Smith, Keith ;
Sorniotti, Alessandro ;
Stathakopoulou, Chrysoula ;
Vukolic, Marko ;
Cocco, Sharon Weed ;
Yellick, Jason .
EUROSYS '18: PROCEEDINGS OF THE THIRTEENTH EUROSYS CONFERENCE, 2018,
[3]   Performance Characterization of Hyperledger Fabric [J].
Baliga, Arati ;
Solanki, Nitesh ;
Verekar, Shubham ;
Pednekar, Amol ;
Kamat, Pandurang ;
Chatterjee, Siddhartha .
2018 CRYPTO VALLEY CONFERENCE ON BLOCKCHAIN TECHNOLOGY (CVCBT), 2018, :65-74
[4]   Scaling Byzantine Consensus: A Broad Analysis [J].
Berger, Christian ;
Reiser, Hans P. .
SERIAL'18: PROCEEDINGS OF THE 2018 WORKSHOP ON SCALABLE AND RESILIENT INFRASTRUCTURES FOR DISTRIBUTED LEDGERS, 2018, :13-18
[5]  
Cachin C., 2016, P WORKSHOP DISTRIBUT
[6]  
Chain Inc, US
[7]  
Eyal I, 2016, 13TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION (NSDI '16), P45
[8]  
github, LevelDB
[9]  
github, Hyperledger Fabric
[10]  
github, GOLEVELDB