HyperledgerFabric并發(fā)沖突消除機(jī)制

打開文本圖片集
關(guān)鍵詞:HyperledgerFabric;交易沖突;映射;有向無環(huán)圖;沖突消除 中圖分類號(hào):TP393 文獻(xiàn)標(biāo)志碼:A 文章編號(hào):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,F(xiàn)abricIMDmechanismcansignificantlyreduceinvalidtransactionscausedbytransactionconflicts.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,F(xiàn)abricIMDmechanismnotonlyavoidstransactionconflictsbutalsoenhancesthesystem’seffectivetransaction throughout and significantly reduces the number of invalid transactions.
Key Words:Hyperledger Fabric;transactionconflict;map;directed acyclic graph(DAG);conflict elimination
0 引言
區(qū)塊鏈起源于比特幣[1],其實(shí)質(zhì)是集合了對(duì)等(peertopeer,P2P)網(wǎng)絡(luò)、共識(shí)機(jī)制和密碼學(xué)等技術(shù)的分布式數(shù)據(jù)庫(kù)系統(tǒng)。(剩余18739字)