期刊文献+

基于键值状态分片的HyperLedger Fabric性能优化

HyperLedger Fabric Performance Optimization Based on Key-value State Sharding
下载PDF
导出
摘要 HyperLedger Fabric是受关注度较高的开源联盟区块链.针对现有区块链分片方法不适用于Fabric三阶段交易模型的问题和分片粒度过粗导致存在热点访问的问题,提出一种基于Fabric实现的细粒度键值状态分片方法.首先,详细设计了Fabric在键值状态分片下的跨片交易处理,引入跨分片排序节点和两阶段提交处理流程,高效保证跨片交易的一致性和原子性.然后,针对细粒度分片可能导致交易跨片概率上升进而影响性能的问题,提出启发式的交易提案路由表,旨在减少预执行阶段交易的跨片读数据请求,降低计算资源和网络资源的消耗.最后,在Fabric仿真系统上实现改进的分片方案并进行性能测试.实验结果表明,该方法在提升Fabric性能的基础上,有效解决了热点访问问题和高跨片交易占比下的性能下降问题. 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.
作者 董建亮 潘恒宇 王硕 王峰 李京 DONG Jian-Liang;PAN Heng-Yu;WANG Shuo;WANG Feng;LI Jing(School of Computer Science and Technology,University of Science and Technology of China,Hefei 230027,China;Network Information Center,University of Science and Technology of China,Hefei 230026,China)
出处 《计算机系统应用》 2023年第10期34-44,共11页 Computer Systems & Applications
基金 安徽省高校省级质量工程重大教育教学改革研究项目(2019zdjg30)。
关键词 区块链 联盟链 HyperLedger Fabric 分片 横向扩容 blockchain consortium blockchain HyperLedger Fabric sharding horizontal scalability
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部