HyperledgerFabric并发冲突消除机制

打开文本图片集
关键词:HyperledgerFabric;交易冲突;映射;有向无环图;冲突消除 中图分类号:TP393 文献标志码:A 文章编号:1001-3695(2025)07-004-1948-08 doi:10.19734/j.issn.1001-3695.2024.11.0452
Abstract:HyperledgerFabricisa mainstreamconsortium blockchain platform.When facing multipleconcurrent transactions thatareinterrelated,theexistingarchitecturetendstogeneratealargenumberof invalidtransactionswhichsverelyrduces thesystem’sefectivetransactionprocessingcapability.Toaddressthisisse,thispaperproposedaconflicteliminationechnism that integrated map and directed acyclic graph(DAG),known as the FabricIMD(Fabric integrated with map and DAG) mechanism.The mechanism identified dependencies between transactions atthe per node(endorser)through map andconstructed theserelationshipsusingadirectedacyclicgaphtoadjust theendorsementorderoftransactions,therebyefectivelyavoiding transactionconflicts.Experimentsdemonstratethatwhentherearemultipleinterrelatedconcuenttransactions,FabricIMDmechanismcansignificantlyreduceinvalidtransactionscausedbytransactionconflicts.Withvaryingdegresofconflict among transactions,the system’s effective transaction throughput increased by 15.68% to 96.08% . Moreover,when dealing withunrelatedconcurrnttransactions,the introductionofthis mechanismdidnotsignificantlyimpact systemperfor-mance.In summary,FabricIMDmechanismnotonlyavoidstransactionconflictsbutalsoenhancesthesystem’seffectivetransaction throughout and significantly reduces the number of invalid transactions.
Key Words:Hyperledger Fabric;transactionconflict;map;directed acyclic graph(DAG);conflict elimination
0 引言
区块链起源于比特币[1],其实质是集合了对等(peertopeer,P2P)网络、共识机制和密码学等技术的分布式数据库系统。(剩余18739字)