Detailed explanation of "real-time Ethereum" MegaETH

Detailed explanation of "real-time Ethereum" MegaETH

MegaETH, the upcoming L2 project dubbed “Real-time Ethereum” with sub-millisecond latency and the ability to process over 100,000 transactions per second (TPS), just announced $20 million in seed funding at a valuation of over $100 million!

The star-studded round was led by Dragonfly Capital, with participation from notable names such as Ethereum founder Vitalik Buterin, Consensys founder Joe Lubin, Lido/Flashbots strategy head Hasu, cryptocurrency trader Cobie, and EigenLayer founder Sreeram Kannan.

The big names involved have drawn some attention to the project.

Today, we will discuss how MegaETH innovates on the contemporary Ethereum Virtual Machine (EVM) blockchain to provide industry-leading performance and decentralization guarantees.

What is special about MegaETH

High-performance alternatives to L1 require their nodes to perform the same tasks without specialization, creating a fundamental trade-off between performance and decentralization. In contrast, MegaETH leverages Ethereum’s L2 technology to create differentiated roles for nodes with different hardware requirements.

MegaETH decouples transaction processing tasks from full nodes and creates three main roles for infrastructure operators: sorters, certifiers, and full nodes. Although MegaETH's actual block production is becoming increasingly centralized, the flexible hardware requirements for node specialization ensure trustless block verification and can provide industry-leading decentralization guarantees.

A single active MegaETH sorter will be responsible for sorting and executing user transactions, eliminating the consensus process during normal operation, and will communicate state differences (i.e., changes to the blockchain state) to full nodes via the peer-to-peer network, which then apply the state differences to update their local state. It is worth noting that MegaETH transactions are not re-executed by full nodes to verify block integrity; instead, they indirectly verify blocks using proofs provided by provers.

Even the highest-performing L2 in existence (BNB’s opBNB) imposes significant limitations on its application. Despite opBNB’s relatively high throughput target of 100M Gas per second, opBNB can only handle 650 Uniswap swaps per second compared to a modern Web2 database that can achieve an equivalent 1M TPS.

Furthermore, these networks tend to have “long” block times exceeding 1 second, which is impractical for applications that require real-time performance (such as high-frequency trading).

While blockchains often turn to one-off solutions such as parallelization in pursuit of scale, enabling transactions involving different parts of the state to be processed simultaneously on multiple CPU cores, the benefits of this particular approach are limited by the fact that many transactions contain dependencies, resulting in only modest improvements in blockchain speed from parallelization.

Solving any system's bottlenecks in isolation usually fails to produce significant improvements, because solving the initial limiting factor simply shifts the bottleneck to another component.

Rather than optimizing just a few components of its stack like its competitors, MegaETH aims to identify the numerous problems plaguing existing blockchains and build a new system that solves a range of issues discovered simultaneously.

This ambition requires scaling node hardware to its limits while maintaining decentralization (achieved through specialization) and requires creating a system that essentially aims to approach the theoretical performance ceiling of a decentralized blockchain.

To this end, the MegaETH sorter will store its entire state in memory and become the first blockchain to implement in-memory computation, a key feature for high-performance Web2 applications, which should enable MegaETH to access state 1,000 times faster than alternative solid-state drive storage methods used by competitors.

Compute-intensive applications will see a 100x performance boost on MegaETH thanks to a just-in-time (JIT) compiler that converts smart contract code into MegaETH’s “native machine code,” a set of instructions that the server CPU can directly interpret and execute, helping to improve the speed and efficiency of smart contract execution.

Maintaining the Ethereum Merkle Patricia Trie (MPT), a core data structure that represents the current state of all assets and related information, is the main limiting factor of all EVM implementations, but MegaETH is creating a new state trie from scratch that will maintain a full EVM-compatible state trie while minimizing disk I/O operations and storing terabytes of state data.

Finally, MegaETH’s 100,000 transactions per second must be propagated to its network of full nodes; an efficient peer-to-peer protocol will deliver state updates from the sequencer with low latency and high throughput, allowing full nodes with moderate connectivity to stay in sync at the maximum update rate.

Conclusion

MegaETH’s significant performance improvements over contemporary EVM implementations should greatly drive adoption of L2 performance and ultimately result in decentralized blockchains capable of handling the real world!

While some see MegaETH as best suited as a competitor to the Ethereum ecosystem that is not interested in the base layer, the optimizations achieved by MegaETH are entirely achieved through its ability to outsource security and censorship resistance to existing decentralized networks such as Ethereum and EigenLayer.

<<:  FOMC meeting minutes suggest no rush to cut interest rates, BTC tests $59,500

>>:  What caused Bitcoin to fall below $60,000?

Recommend

How is the fortune of a woman with a mole of wealth?

A woman's fortune is related to many aspects,...

Revealing the secrets of what kind of face a girl has that attracts older men

Nowadays, uncles are becoming more and more popul...

Going hiking with friends on New Year's Eve

New Year’s Eve is a rare holiday at the end of th...

Analysis of the face of a foxy woman

Physiognomy is one of the traditional physiognomy,...

What does a person with thick lips look like?

Physiognomy is one of the traditional physiognomy,...

What kind of palm has the function of keeping wealth?

If a person's ability to save money is not pr...

Analysis of the facial features of cinnabar nevus at the corner of the eye

Each of us has some moles on our body, and most o...

Come and see what kind of facial features make women lucky!

Good fortune is predestined by heaven and cannot ...

Do people with full noses have good fortune? Will it bring wealth?

I believe everyone has talked about fortune. In fa...