Journal of Applied Sciences ›› 2022, Vol. 40 ›› Issue (4): 611-622.doi: 10.3969/j.issn.0255-8297.2022.04.006

• Blockchain • Previous Articles    

Bloom Filter Optimization for Consortium Blockchain

WU Yihan, HUANG Jianhua, SHAO Xinghui, WANG Cheng   

  1. College of Information Science and Engineering, East China University of Science and Technology, Shanghai 200237, China
  • Received:2021-11-14 Published:2022-08-03

Abstract: Bloom filters are frequently used for read performance optimization of Hyperledger Fabric state database LevelDB, but they suffer from false positives, and LevelDB asks Bloom filters working in a uniform rather than adaptively adjusted configuration. In this paper, a unitized partial counting Bloom filter (PCBF) construction scheme is proposed by using a parallel element insertion and query computing mechanism, which combines double Hash and non-encrypted Hash to achieve fast insertion and query. Sorted string table (SSTable) priority is constructed based on open filter units and access times, while the filter units are adaptively adjusted by using a time-slice polling algorithm to achieve reasonable resource allocation. Experiments show that PCBF has a high insertion efficiency and can reduce the total number of false positives by about 20%, proving the feasibility of PCBF in high concurrency scenarios of permissioned blockchain.

Key words: blockchain, Hyperledger Fabric, LevelDB, Bloom filter, log structured merge tree (LSM tree)

CLC Number: