Abstract

With the considerable exploration of blockchain in various industrial fields, the storage architectures of mainstream consortium blockchains exhibit significant performance limitations, which can’t meet the requirements of efficient data access with massive data storage in enterprise-level business scenarios. In this paper, we creatively divided the underlying data of the consortium blockchain into two categories: continuous data and state data and proposed a new storage architecture to store and operate these two types of data efficiently. For continuous data, we designed a specialized index-based storage engine. For state data, we proposed a multi-level cache mechanism with a secure and integrated data persistence policy. In addition, a pluggable Client/Server mode is employed to achieve flexible distributed extension. A series of experiments are conducted to show the effectiveness of our architecture. Compared with mainstream consortium blockchain storage architecture based on LevelDB, the average time-consuming decreases 81.85%/82.47% for reading/writing continuous data and 22.21%/48.99% for reading/writing state data. Compared with the storage architecture based on distributed database TiKV, the time-consuming decreases more significantly. This storage architecture has been integrated into the enterprise-level consortium blockchain platform Hyperchain, which has supported the efficient running of dozens of large-scale commercial blockchain projects with massive data.

Highlights

  • Blockchain is a distributed storage technological paradigm which integrates many technologies such as encryption algorithm [1], peer-to-peer network [2], consensus algorithm [3], etc

  • CONTINUOUS DATA STORAGE: FILELOG In a consortium blockchain platform, many kinds of data can be treated as continuous data, such as block data, transaction receipts and transaction logs

  • Since the main work of this paper is a new consortium blockchain storage architecture, the quantitative experiments compared the performance of HyperBSA and the mainstream consortium blockchain storage engine based on LevelDB or distributed database TiKV

Read more

Summary

INTRODUCTION

Blockchain is a distributed storage technological paradigm which integrates many technologies such as encryption algorithm [1], peer-to-peer network [2], consensus algorithm [3], etc. With different storage technologies adopted to process the two types of data separately, high performance of reading/ writing in large data volume can be achieved. For state data (its key has no characteristic of continuity, such as the account balance), we designed multi-level caching mechanisms to improve reading/writing performance. Since we focus on improving the underlying storage architecture in the blockchain system, the existing researches can even achieve better performance based on our work. The main contributions of this paper are as follows: 1) We creatively divided the blockchain data into continuous data and state data and proposed an efficient storage architecture for these two types of data. VOLUME 8, 2020 data as files and adopts a double-layer index mode for fast access It uses sparse index and adjusts the step size according to different random-read requirements of storage scenarios.

RELATED WORK
CONTINUOUS DATA STORAGE
FILE SYSTEM
INTERFACE
VIII. CONCLUSION AND FUTURE WORK
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.