技术解析Artela:为什么“并行EVM”关乎以太坊EVM生态的存续之战?
Recently, a huge round of financing of $100 million has attracted the market's attention to parallelism, which has led to a discussion on what problems parallelism has solved and the bottleneck and key to developing parallelism. In my opinion, parallelism is a key link in the battle for the ecological survival of Ethereum. Why? Let me explain that because Ethereum virtual machines can only process transactions in series, the chains and compatible chains are subject to performance, because they are all based on the same framework for state and transaction processing, compared with the priority. The energy chain has the advantage of parallel processing, so the gene chain must have the ability of parallel processing in order to meet the challenge of these high-performance chains. So how to do it? Let's take the emerging parallel chains as an example to explain in detail that the equal-enhanced chains have improved and given the ability of parallel processing of transactions on the basis of high compatibility. These independent parallel chains have independent consensus mechanisms and technical characteristics, but they still aim at compatibility and expansion of ecology, which is equivalent to restructuring the chain by changing bloodlines to serve. The expandable compatible chain with ecological similarity uses the consensus of chain independence and transaction preprocessing ability to screen and process the transaction status before batch processing a large number of transactions to the main network, and at the same time, other execution layers can be selected to finally determine the transaction status. This method abstracts it into a pluggable execution module and realizes the parallel processing ability, but this kind of scheme serves beyond the scope of the framework, and achieves the parallel processing ability to a certain extent, but only through the optimization of the algorithm layer. However, there is no deep consensus and storage layer optimization, so this kind of parallel ability is more a specific function and the parallel problem that has not been completely solved. The differential parallel chain is not a chain to some extent, but is compatible with the environment in some way. There are some problems in the connection between the parallel ability of this kind of chain and the chain. These schemes have their own emphasis, such as the flexibility of modular combination execution layer chain and the customization of specific functions. Moreover, the compatibility of non-chain and the pursuit of the liquidity of Ethereum are more critical to the goal of completely consolidating the ecology and changing the parallel processing ability from the bottom. Then the key to building an enhanced parallel chain lies in what to achieve the reconstruction of the chain and serve the ecology at the same time. The key point lies in two aspects: improving the ability of reading and outputting information on the disk, in addition to simple transaction sequencing and scheduling, in order to truly improve the parallel processing ability, cache data slices and even distribution need to be introduced. Storage technology fundamentally balances the reading speed and possible state conflicts, has efficient network communication data synchronization algorithms, optimizes virtual machines, and optimizes various components of the consensus mechanism layer, such as calculation and task separation, from various aspects such as the underlying component architecture and collaborative process, and finally realizes rapid response. Controllable calculation consumes high-accuracy transaction parallel processing capacity. Specifically, what technical innovations and framework optimization should be adopted for the parallel chain project itself to achieve parallelism? The parallel ability of resource coordination and optimization in the layer architecture layer introduces elastic calculation and elastic calculation of elastic block space, which enables the network to dynamically allocate and adjust the calculation resources according to the demand and load. The elastic block space can dynamically adjust the block size based on the number of transactions and the size of data in the network. The working principle of the whole elastic design is similar to that of a shopping mall automatically sensing the flow of people to automatically adjust the escalator operation. This mode is very reasonable. As mentioned above, the disk reading performance is crucial to parallel processing. The parallel ability of the important equal chain realized by the algorithm can improve the efficiency by times, but this is only the optimization of the algorithm level. The consensus layer and storage layer have not been deeply optimized, which raises the following questions: What is the real deep optimization? For this, the database technology scheme has been used for reference to improve the reading and writing of the state. In the writing state, it has introduced the log before writing technology, that is, when the state changes, the change record is written into the log and submitted to the memory to complete the writing operation. This has been realized. The asynchronization of operation avoids immediate disk writing operation, thus reducing the operation on disk. The same asynchronous operation is adopted in the aspect of state reading, which improves the reading efficiency through preloading strategy. According to the contract history execution record, the state that may be read in the next specific contract call is predicted and preloaded into memory, thus improving the efficiency of disk request. Generally speaking, this algorithm fundamentally improves the parallel processing ability of virtual machines by exchanging memory space for execution time. The problem of state conflict is fundamentally optimized. In addition, modular programming ability is introduced to better manage complexity and improve development efficiency. By introducing code parsing to enhance programming flexibility and having access rights at the bottom, the security isolation of the executive layer is realized, which enables developers to efficiently develop, debug and deploy smart contracts in a new environment, and stimulates the customization and expansion ability of developers, especially the developers are encouraged to optimize the code in the direction of parallel processing at the smart contract code level. Because reducing the probability of state conflict is very important for the calling logic and algorithm of every intelligent contract, generally speaking, the concept of parallelism is essentially the process of optimizing the execution process of transaction state, which is called that transactions can be processed every second. Its technical core mainly focuses on the development of special database, the delay in executing consensus superscalar pipeline technology and other aspects to realize the parallel processing of large-scale transactions, which is not much different from the essential logic of elastic computing and asynchronous operation, but in fact this kind of high-performance parallelism. Chain is the product of the integration of product and technology, which really absorbs the essence of technology processing under high load in the application market. In the distant future, it will become an infrastructure capital market facing a wider market, and it is reasonable to be optimistic about this. 比特币今日价格行情网_okx交易所app_永续合约_比特币怎么买卖交易_虚拟币交易所平台
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。