技术解析Artela:为什么“并行EVM”关乎以太坊EVM生态的存续之战?
Recently, a huge round of financing of billions of dollars has attracted the market's strong attention to parallelism. So what problems has parallelism solved? What are the bottlenecks and key points of developing parallelism? In my opinion, parallelism is the last wave of the chain to meet the high-performance chain, which is related to the survival of the Ethereum ecology. Why? Next, let's talk about my understanding. Because Ethereum virtual machines can only process transactions in series, this makes the chain and compatible chains subject to performance constraints because they are all based on the same framework. Managing state and transaction, however, high-performance chains such as equality are inherently parallel. In this context, if you want to confront the challenge chain of high-performance chains, you must improve the parallel processing ability. So how to do it? I will take the new parallel chain as an example to explain the enhanced chains represented by equality. They have significantly improved and given the parallel ability of transactions in a quasi-environment on the basis of high compatibility. These independent parallel chains have independent consensus mechanisms and technical characteristics. Sex, but still aiming at compatibility and expansion of ecology, is equivalent to reshaping the chain in the way of changing bloodlines to serve the ecology. The expanded compatible chain represented by equality uses the independent consensus and transaction preprocessing ability of the chain to screen and process the transaction state before the batch transaction is wound up, and can choose the execution layer of any other chain to confirm the transaction state. This method abstracts the pluggable execution module and selects the best execution layer according to the demand, which realizes the parallel ability, but this scheme can serve but exceeds it. In this paper, the equivalent chain represented by equality in the framework category has realized the parallel processing ability to a certain extent, but it has not optimized the deep consensus and storage layer only through the optimization of the algorithm layer, so this parallel ability is more a parallel problem with specific characteristics and has not been completely solved. The non-parallel chain represented by it is not a chain to a certain extent, but is compatible with the environment through middleware or code analysis on the basis of its inherent high concurrent execution ability. We can see that This is the way to go to a place like Ethereum. Although it has language and account abstraction and parallelism, compatibility requires special channels. Most of these non-chain parallelism have this problem when connecting the chains. Each of the above four schemes has its own emphasis and parallelism, and pays attention to the flexibility of modular combination execution layer chain, while the chain highlights the customization characteristics of specific functions. As for the compatibility characteristics of other non-chains, it is more committed to extracting the liquidity of Ethereum. At present, only the enhanced chain is to completely consolidate the ecology and fundamentally change. The last track of parallel ability, so what is the key to make an enhanced parallel public chain? How to reshape the chain and serve the ecology? There are two key points: the reading and output ability of state disk is of great significance. Because data reading and writing take time, simple transaction sorting and scheduling can not fundamentally improve the parallel processing ability. It is necessary to introduce cache data slicing and even distributed storage technology to balance the reading speed and the possibility of state conflict from the fundamental state storage and reading process, and an efficient network. Communication data synchronization algorithm, optimization of virtual machine, strengthening of computing and separation of tasks, etc. Component optimization in all aspects of the consensus mechanism layer needs to be comprehensively optimized and upgraded from the aspects of the underlying component architecture, collaboration process, etc., and finally achieve high response speed, controllable computing consumption and high-accuracy parallel processing transaction ability. Specifically, what technical innovations and framework optimization are needed for the parallel chain project itself to achieve parallelism? In order to completely realize the parallel ability of resource coordination and optimization from the underlying architecture layer, an elastic meter is introduced. What are the understandings of computing and elastic block space? Elastic computing enables the network to dynamically allocate and adjust computing resources according to the demand and load, while elastic block space can dynamically adjust the block size according to the number of transactions and the size of data in the network. The whole elastic design principle is as reasonable as a shopping mall automatically sensing people's flow for escalator work. As mentioned above, disk reading performance is very important for parallelism, and the parallel ability realized by equal chain algorithm can achieve twice the efficiency improvement, but This is only the optimization of algorithm layer, consensus layer and storage layer. What will be the real depth optimization? In view of this, the database technology solution has been optimized in both state reading and writing. In the writing state, the log before writing technology is adopted to record the changes and submit them to memory when the state changes, so as to avoid immediate disk writing operations, thus reducing the disk operation. In the state reading, the reading efficiency is improved by preloading strategy. Predict the state that may be needed for the next contract call according to the contract history execution record and pre-load it into memory to improve the efficiency of disk request. Generally speaking, this algorithm of exchanging execution time for memory space can fundamentally improve the parallel processing ability of virtual machines and fundamentally solve the problem of state conflict. In addition, by introducing modular programming ability analysis to better manage complexity and improve development efficiency, it introduces coding analysis to enhance programming flexibility and has the realization of bottom-level access rights. In order to ensure the security isolation of the execution layer, developers can efficiently develop, debug and deploy smart contracts in the environment, and stimulate the customization ability of developers. In particular, developers will be encouraged to optimize the code in the direction of parallelization at the code level of smart contracts to reduce the possibility of state conflicts. The calling logic and algorithm of each smart contract are very important. Generally speaking, parallelism is essentially optimizing the execution process of transaction state, which is called that transactions can be processed every second. Its technical core is nothing more than The parallel processing of large-scale transactions is realized by delaying the implementation of consensus superscalar pipeline technology by the developer of special database, which is not much different from the elastic computing and asynchronous operation in essence. However, I prefer to express that these high-performance parallel chains are essentially the results of the integration of products and technical forces, and the essence of technical processing under high load in the application market is indeed adopted. In a distant future era, it is indeed the basis for the ecology to move towards a wider market, and it is reasonable to be so optimistic about the capital market. 比特币今日价格行情网_okx交易所app_永续合约_比特币怎么买卖交易_虚拟币交易所平台
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。