区块链

面向超级账本Fabric的多通道分片技术研究

展开
  • 1. 哈尔滨工业大学(深圳) 计算机科学与技术学院, 广东 深圳 518055;
    2. 鹏城实验室, 广东 深圳 518038;
    3. 广东省安全智能新技术重点实验室, 广东 深圳 518055

收稿日期: 2022-10-28

  网络出版日期: 2023-08-02

基金资助

国家重点研发计划(No.2020YFB1005805);广东省安全智能新技术重点实验室(No. 2022B1212010005);鹏城实验室重点攻关项目(No. PCL2021A02);深圳市高等院校稳定支持计划(No. GXWD2020123015-5427003-20200821160539001)资助

Research on Multi-channel Sharding Technology for Hyperledger Fabric

Expand
  • 1. School of Computer Science and Technology, Harbin Institute of Technology, Shenzhen, Shenzhen 518055, Guangdong, China;
    2. Peng Cheng Laboratory, Shenzhen 518038, Guangdong, China;
    3. Guangdong Provincial Key Laboratory of Novel Security Intelligence Technologies, Shenzhen 518055, Guangdong, China

Received date: 2022-10-28

  Online published: 2023-08-02

摘要

区块链技术被广泛运用在物联网、金融、供应链等领域。Hyperledger Fabric是目前主流的企业级许可区块链系统,该系统允许事务并发的执行与验证。然而,在高并发场景下其吞吐量的限制却制约了该系统更大范围的应用。分片技术是现有解决区块链性能问题的方案之一,可同时满足低延迟和高吞吐量的目标,大多数现有分片方案只是针对非许可区块链加密货币的应用,而针对许可区块链的分片研究方案却很少。面向超级账本平台,本文提出了一种多通道交互的分片方案。首先根据客户端事务发送的速率,对当前交易通道进行动态复制,进行并行背书;然后将在排序节点对复制的通道所背书的事务进行合并,生成新的区块;最后并行地在多通道内将新区块分发给各个节点,并整合在主账本内,确保节点之间账本的一致性,并更新世界状态。实验表明,提出的新方法能够在高并发的情况下显著提高事务吞吐量,相对原有的交易流程,吞吐量可提升3倍以上。

本文引用格式

刘洋, 林致远, 张玉玺, 蒋琳, 吴宇琳 . 面向超级账本Fabric的多通道分片技术研究[J]. 应用科学学报, 2023 , 41(4) : 614 -625 . DOI: 10.3969/j.issn.0255-8297.2023.04.006

Abstract

Blockchain is widely used in various fields, including the Internet of things and finance. Hyperledger Fabric is the one of the mainstream enterprise-level licensed blockchain systems, but its throughput limitation in high concurrency scenarios hinders wider application. Sharding is a solution to this problem, which can meet the goals of low latency and high throughput simultaneously. However, most existing sharding schemes are designed for non-licensed blockchain confidential currency only. In this paper, we propose a multi-channel interactive sharding scheme for the Hyperledger Fabric blockchain platform. First, the current transaction channel is dynamically copied and endorsed in parallel according to the sending rate of client transactions. Then, the transactions endorsed by the copied channel are emerged at the sorting node to generate new blocks. Finally, the new blocks are distributed to each node in parallel in multiple channels and integrated in the main ledger to ensure the consistency of the ledger between peer nodes and update the world state.

参考文献

[1] Böhme R, Christin N, Edelman B, et al. Bitcoin:economics, technology, and governance[J]. Journal of Economic Perspectives, 2015, 29(1):213-238.
[2] Wood G. Ethereum:a secure decentralised generalised transaction ledger[R]. Ethereum Project Yellow Paper, 2014, 151(2):1-32.
[3] Androulaki E, Barger A, Bortnikov V, et al. Hyperledger Fabric:a distributed operating system for permissioned blockchains[C]//Proceedings of the thirteenth EuroSys Conference, 2018:1-15.
[4] Underwood S. Blockchain beyond bitcoin[J]. Communications of the ACM, 2016, 59(11):15-17.
[5] Securekey:building trusted identity networks[EB/OL].[2022-10-28]. https://securekey.com/.
[6] Gorenflo C, Lee S, Golab L, et al. Fastfabric:scaling hyperledger fabric to 20000 transactions per second[J]. International Journal of Network Management, 2020, 30(5):e2099.
[7] Liu C M, Badigineni M, Lu S W. Adaptive blocksize for IoT payload data on fabric blockchain[C]//202130th Wireless and Optical Communications Conference (WOCC). IEEE, 2021:92-96.
[8] Grodzicka H, Kedziora M, Madeyski L. Security and scalability in private permissionless blockchain:problems and solutions leading to creating consent-as-a-service (CAAS) deployment[C]//International Conference on Computational Collective Intelligence. Berlin:Springer, 2021:278-289.
[9] Thakkar P, Natarajan S. Scaling blockchains using pipelined execution and sparse peers[C]//Proceedings of the ACM Symposium on Cloud Computing, 2021:489-502.
[10] Luu L, Narayanan V, Zheng C D, et al. A secure sharding protocol for open blockchains[C]//Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, 2016:17-30.
[11] Wang J P, Wang H. Monoxide:scale out blockchains with asynchronous consensus zones[C]//16th USENIX symposium on networked systems design and implementation (NSDI 19), 2019:95-112.
[12] Zamani M, Movahedi M, Raykova M. Rapidchain:scaling blockchain via full sharding[C]//Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, 2018:931-948.
[13] Kokoris-Kogias E, Jovanovic P, Gasser L, et al. Omniledger:a secure, scale-out, decentralized ledger via sharding[C]//2018 IEEE Symposium on Security and Privacy (SP). IEEE, 2018:583-598.
[14] Nguyen L N, Nguyen T D T, Dinh T N, et al. Optchain:optimal transactions placement for scalable blockchain sharding[C]//2019 IEEE 39th International Conference on Distributed Computing Systems (ICDCS). IEEE, 2019:525-535.
[15] Androulaki E, Cachin C, De Caro A, et al. Channels:horizontal scaling and confidentiality on permissioned blockchains[C]//European Symposium on Research in Computer Security. Berlin:Springer, 2018:111-131.
[16] Dang H, Dinh T T A, Loghin D, et al. Towards scaling blockchain systems via sharding[C]//Proceedings of the 2019 International Conference on Management of Data, 2019:123-140.
[17] Castro M, Liskov B. Practical byzantine fault tolerance[C]//Proceedings of the 3rd Symposium on Operating Systems Design and Implementation (OSDI), 1999:173-186.
[18] Nasir Q, Qasse I A, Talib M A, et al. Performance analysis of hyperledger fabric platforms[J]. Security and Communication Networks, 2018:1-14.
[19] Liu Y, Liu J, Wang J, et al. BSS-ITS:blockchain scaling scheme with sharding for intelligent transportation system:scale blockchain for better data exchange and storage with full sharding for intelligent transportation system[C]//20214th International Conference on Blockchain Technology and Applications, 2021:128-134.
文章导航

/