Artela White Paper On June 20, the cutting-edge parallel EVM Layer1 project Artela released the white paper "Full Stack Parallelization", aiming to fully release the scalability of the blockchain and enable DApps to have "predictable performance."
1. Predictable performancerefers to providing predictable TPS for DApps, which is crucial for DApps in specific business scenarios. DApps deployed on public chains are often affected by other DApps competing for blockchain computing power and storage space. In the case of network congestion, it will lead to higher transaction execution costs and delays, restricting the rapid development of DApps.
2. Application chain
In order to solve the problem of "predictable performance", a common approach is to use Application-specific blockchain, also known as Application chain (Appchain ). It dedicates block space to specific applications.
3. Elastic Block Space
Artela proposes the Elastic Block Space (EBS) solution to dynamically adjust block resources according to DApp needs and provide independent expansion for DApps with high demand. block space.
4. Comparison between application chain and elastic block space
This article will introduce application chain and elastic block space respectively, and compare their advantages and disadvantages. Application ChainFeatures:
The form of application chain
Monolithic blockchain
Multi-chain ecosystem
Derivative forms of application chain
Side chain
Subnet
Layer2 Rollups
Currently, a large number of applications are built in application chains across various platforms. For example:
Advantages:
Disadvantages:
Elastic Block Space
Elastic ComputingIn Web2, elastic computing is a common cloud computing model that allows the system to dynamically expand or contract computer processing, memory, and storage resources as needed to meet changing needs capacity planning and engineering design without worrying about usage peaks.
Elastic block space
Elastic block space automatically adjusts the number of transactions accommodated in the block according to the degree of network congestion. For transactions of specific applications, the blockchain network provides stable block space and TPS through elastic computing Guaranteed, this achieves "predictable performance."
The concept of MegaETH
MegaETH has also proposed a similar concept of "elastic dynamic expansion" and considered it an inevitable development path for DApps to support large-scale adoption. The following technological developments are predicted in the next 1-3 years:
The implementation of Artela
And Artela has truly implemented this concept and solved the core problem of the first phase of "how to coordinate the horizontal expansion of verification nodes to support elastic computing". As a protocol grows in the Artela network, it can subscribe to elastic block space to handle the growth in protocol users and throughput. Elastic block space provides independent block space for DApps with high transaction throughput needs, allowing them to scale as they grow. Essentially, block space determines the amount of data that can be stored in each block of the blockchain, directly affecting transaction throughput. When DApps experience a surge in transaction demand, subscribing to elastic block space becomes useful to efficiently handle the increased load without impacting the underlying blockchain.
Implementation of elastic computing
The implementation of elastic computing is divided into "real-time elasticity" and "non-real-time elasticity". "Real-time elasticity" generally refers to minute-level response expansion, while "non-real-time elasticity" only requires a Respond to expansion within a limited time. Artela adopts a "non-real-time elasticity" method, that is, when the network detects the need for expansion, it will initiate an expansion proposal, and the verification nodes of the entire network will complete the expansion after one or more epochs (rather than real-time). And submit the proof of expansion for other validators to challenge.
Artela’s solution
Artela’s elastic block space solution actually draws on many distributed database concepts and is also a continuation of blockchain sharding technology. From the perspective of "computing sharding", the capacity is expanded according to the application traffic that needs it, avoiding the problem of "cross-shard transactions", so that the developer and user experience is no different from before. At the same time, the adoption of "non-real-time elasticity" which is relatively difficult to implement has enhanced the applicability while meeting the actual needs of many DApps.
Premise
It is worth mentioning that as a solution for horizontally expanding blockchain performance, elastic block space is based on the premise that "transactions can be parallelized", which is only needed after the transaction parallelism is increased. Horizontally expand the machine resources of nodes to improve transaction throughput.
So for Layer 1 like Ethereum, the transaction serialization problem is the most direct performance bottleneck. The block size is also limited by the variable size block Gas limit (the upper limit is 30,000,000 gas), so we can only seek Layer 2 expansion. plan.For high-performance Layer 1 like Solana, although it supports parallel execution of transactions and can scale horizontally, it cannot cope with the problem of "predictable performance" of DApps during peak demand periods. By implementing a “local fee market” solution, Solana aims to prevent any single-demand transaction from monopolizing scarce block space, limiting time-based fee increases and mitigating the negative impact of sudden demand peaks. For example, during an NFT issuance, the NFT issuer will quickly consume each account's computing unit (CU) limit, and subsequent transactions must increase the priority fee to be processed within the limited space of the account.
It can be said that Artela's flexible block space solution to cope with the surge in transaction demand also further extends the concept of "local fee market" in Solana, which not only ensures the "predictable performance" of DApp, but also prevents the entire network from being blocked. A surge in fees and congestion within the range, killing two birds with one stone.
Summary
Whether it is application chain or elastic block space, they are essentially to solve the problem that different DApps have different demands for blockchain performance, or the problem of "predictable performance". There is no good or bad between the two solutions, only Suitable and inappropriate. These two solutions remind me of the "fat protocol theory" - a theory proposed by Joel Monegro in 2016, which revolves around "how cryptographic protocols should capture more (than the collective value captured by the applications built on top of them)" Value" expands.
Application chainApplication chain is essentially a thin protocol, especially when Layer1 adopts a modular architecture, the protocol layer is completely customized by the application layer. Although this brings a better value accumulation mechanism for applications, it also brings high costs and limited security.
Flexible block space
Flexible block space is essentially a fat protocol and an extension of the underlying Layer1 protocol layer. It effectively lowers the barrier to entry for players with a need for “predictable performance.” At the same time, the protocol can also capture application value and create a positive feedback loop.
The above is the detailed content of Predictable performance of DApps: from application chain to elastic block space. For more information, please follow other related articles on the PHP Chinese website!