###
计算机系统应用英文版:2023,32(10):34-44
←前一篇   |   后一篇→
本文二维码信息
码上扫一扫!
基于键值状态分片的HyperLedger Fabric性能优化
(1.中国科学技术大学 计算机科学与技术学院, 合肥 230027;2.中国科学技术大学 网络信息中心, 合肥 230026)
HyperLedger Fabric Performance Optimization Based on Key-value State Sharding
(1.School of Computer Science and Technology, University of Science and Technology of China, Hefei 230027, China;2.Network Information Center, University of Science and Technology of China, Hefei 230026, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 427次   下载 844
Received:March 14, 2023    Revised:April 20, 2023
中文摘要: 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.
文章编号:     中图分类号:    文献标志码:
基金项目:安徽省高校省级质量工程重大教育教学改革研究项目(2019zdjg30)
引用文本:
董建亮,潘恒宇,王硕,王峰,李京.基于键值状态分片的HyperLedger Fabric性能优化.计算机系统应用,2023,32(10):34-44
DONG Jian-Liang,PAN Heng-Yu,WANG Shuo,WANG Feng,LI Jing.HyperLedger Fabric Performance Optimization Based on Key-value State Sharding.COMPUTER SYSTEMS APPLICATIONS,2023,32(10):34-44