A Study on Parallel Execution: Everything You Need to Know | HackerNoon

  • 📰 hackernoon
  • ⏱ Reading Time:
  • 102 sec. here
  • 3 min. at publisher
  • 📊 Quality Score:
  • News: 44%
  • Publisher: 51%

Coin Coin Headlines News

Coin Coin Latest News,Coin Coin Headlines

This research compares implementation systems similar to Ethereum and analyzes the difficulties and possibilities of achieving parallel execution of transaction - sin7y parallelexecutions

It’s worth noting that the chains analyzed for this research are based on the Account model design scheme, not including the UTXO scheme.FISCO-BCOS, one of the consortium blockchains that support parallel execution of transaction verification within blocks.Aptos public chain, Move Virtual Machine.Let’s take a look at the traditional transaction execution process.

The experimental results of the benchmark test program show that compared with the traditional serial transaction execution scheme, PTE running on a 4-core processor under ideal conditions can achieve about 200%~300% performance improvement, and the computational improvement is proportional to the number of cores.An acyclic-directed graph is often referred to as Directed Acyclic Graph .

After the block is verified, the block is uploaded to the chain. After a transaction is executed, if the state of each node is consistent, a consensus is reached and the block is then written to the underlying storage, which is permanently recorded on the blockchain.Take all the transactions in the block from the packed block.Read all transactions in order. Should a transaction be mergeable, resolve its conflict field and check whether any previous transactions conflict with it.

It is well known that the order of execution between instructions executed in parallel on different CPU cores cannot be predicted in advance, and the same is true for transactions executed in parallel. When transactions are executed in parallel and out of order, the traditional calculation of state root is no longer applicable because transactions are executed in a different order on different machines and the final state root is not guaranteed to be consistent, nor is the receipt root guaranteed to be consistent.

In a simple transfer transaction, we can judge whether two transactions are dependent based on the addresses of the sender and receiver. Take the following three transfer transactions as an example, A→B, C→D, and D→E. In this scenario, the three transactions are all related, so they cannot be executed in parallel. If the transactions are divided according to the previous dependency analysis method, it is bound to cause mistakes.

The executor will automatically arrange all the transactions in the block into the transaction DAG according to the transaction dependencies specified by the developer.

 

Thank you for your comment. Your comment will be published after being reviewed.
Please try again later.
We have summarized this news so that you can read it quickly. If you are interested in the news, you can read the full text here. Read more:

 /  🏆 532. in COİN

Coin Coin Latest News, Coin Coin Headlines

Similar News:You can also read news stories similar to this one that we have collected from other news sources.

Ethereum (ETH) Price Up Despite Reduced Exchange DepositsEthereum (ETH) up 1.64% despite on-chain data showing slowing exchange deposits
Source: Utoday_en - 🏆 295. / 63 Read more »

Ethereum (ETH) Price Analysis for January 2Can ETH keep rising until the end of the week? crypto Ethereum ETH $ETH cryptoexchange VitalikButerin ethereum
Source: Utoday_en - 🏆 295. / 63 Read more »

Ethereum transactions 338% higher in 2022 but Bitcoin remains most popularWhile Ethereum transactions and activity far outpaced Bitcoin in 2022, BTC kept its top spot as the most searched cryptocurrency on Google, globally. Average daily transactions on the Stellar network is approximately 4 million, which is 4 x more than ETH. Stellar network transaction volume makes ETH and BTC look small…Keep on writing articles about the “big boys”… DenelleDixon jricetweets JedMcCaleb samconnerone Wait for PiNetwotk $pi u will see And hedera has done more transactions than both eth and BTC have done in their lifetime.
Source: Cointelegraph - 🏆 562. / 51 Read more »

Ethereum Failed to Break Through This Resistance, Let's See What Bitcoin Can Do: Analyst.ethereum failed at this resistance level, but Bitcoin may succeed, analyst CalebFranzen believes. $BTC $ETH
Source: Utoday_en - 🏆 295. / 63 Read more »

Grayscale Ethereum Trust hits record -60% discountETHE's discount to net asset value has been in a general decline since the end of 2020, but accelerated in Q4 2022. Going to be an interesting few days for Silbert. 😐 Rest in peace my retirement account Would like to thank BarrySilbert GaryGensler and many others
Source: TheBlock__ - 🏆 464. / 53 Read more »