基于键值状态分片的HyperLedger Fabric性能优化
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

安徽省高校省级质量工程重大教育教学改革研究项目(2019zdjg30)


HyperLedger Fabric Performance Optimization Based on Key-value State Sharding
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    HyperLedger Fabric是受关注度较高的开源联盟区块链. 针对现有区块链分片方法不适用于Fabric三阶段交易模型的问题和分片粒度过粗导致存在热点访问的问题, 提出一种基于Fabric实现的细粒度键值状态分片方法. 首先, 详细设计了Fabric在键值状态分片下的跨片交易处理, 引入跨分片排序节点和两阶段提交处理流程, 高效保证跨片交易的一致性和原子性. 然后, 针对细粒度分片可能导致交易跨片概率上升进而影响性能的问题, 提出启发式的交易提案路由表, 旨在减少预执行阶段交易的跨片读数据请求, 降低计算资源和网络资源的消耗. 最后, 在Fabric仿真系统上实现改进的分片方案并进行性能测试. 实验结果表明, 该方法在提升Fabric性能的基础上, 有效解决了热点访问问题和高跨片交易占比下的性能下降问题.

    Abstract:

    HyperLedger Fabric is an open-source consortium blockchain that has received a lot of attention. Since the existing blockchain sharding method is not suitable for the three-stage transaction model of Fabric, and there is the problem of hotspot access caused by coarse sharding granularity, a fine-grained key-value state sharding method based on Fabric is proposed. First of all, the cross-shard transaction processing of Fabric under key-value state sharding is designed in detail, and a cross-shard sequence node and a two-stage submission process are introduced to efficiently ensure the consistency and atomicity of cross-shard transactions. Then, in view of the problem that fine-grained sharding may lead to an increase in the probability of transaction cross-shards and thus affect performance, a heuristic transaction proposal routing table is proposed to reduce the cross-shard data read requests of transactions in the pre-execution stage and lower the consumption of computing and network resources. Finally, the improved sharding scheme and performance test are realized on the Fabric simulation system. The experimental results show that on the basis of improving the performance of Fabric, this method effectively solves the hotspot access problem and the performance degradation problem under the high proportion of cross-shard transactions.

    参考文献
    相似文献
    引证文献
引用本文

董建亮,潘恒宇,王硕,王峰,李京.基于键值状态分片的HyperLedger Fabric性能优化.计算机系统应用,2023,32(10):34-44

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2023-03-14
  • 最后修改日期:2023-04-20
  • 录用日期:
  • 在线发布日期: 2023-08-09
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号