计算机工程与应用2024,Vol.60Issue(14):257-266,10.DOI:10.3778/j.issn.1002-8331.2303-0457
HLF区块链交易时延动态优化方法研究
Improving Hyperledger Fabric Transaction Latency with Adaptive Dynamic Optimization
摘要
Abstract
Hyperledger Fabric(HLF)performance optimization is a hot topic in blockchain research,but insufficient attention has been paid to transaction delay in low-load production environments,which has become an important factor affecting the application of alliance chains.To address this problem,a dynamic adaptive optimization method for HLF-oriented transaction delay has been proposed.Firstly,a comprehensive performance evaluation of HLF(v2.2)is conducted,taking into account the dimensions of transaction arrival rate and transaction size,and a set of statically recommended configuration parameters is obtained.Secondly,HLF performance model is established using XGBoost based on perfor-mance evaluation data,obtaining the mapping relationship between application load,network configuration,and transac-tion delay.Next,unsaturated dynamic load and burst injection attack scenarios are simulated to obtain application load input close to the production environment.Finally,Bayesian optimization algorithm is used to optimize the dynamic adap-tive configuration parameters of HLF,effectively reducing the processing delay of HLF transactions.The effectiveness of the optimization method has been verified through experiments,and an average transaction delay optimization effect of 53%and a maximum of 97%have been achieved in multiple groups of random dynamic load inputs.关键词
区块链/性能优化/Hyperledger Fabric/交易时延/贝叶斯优化Key words
blockchain/performance optimization/Hyperledger Fabric/transaction delay/Bayesian optimization分类
信息技术与安全科学引用本文复制引用
李天祥,韩云飞,阿不都热衣木江·阿白,马玉鹏,王轶..HLF区块链交易时延动态优化方法研究[J].计算机工程与应用,2024,60(14):257-266,10.基金项目
新疆维吾尔自治区自然科学基金(2022D01A338) (2022D01A338)
新疆维吾尔自治区重点研发计划(2022B01005) (2022B01005)
天山创新团队计划项目(2022D14019) (2022D14019)
新疆网信科创课题(12221604) (12221604)
中国科学院青年创新促进会项目(2021434). (2021434)