Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
What's the lore behind MegaEth? How megaETH is pushing the performance boundaries and rewriting the book with first principle thinking! 🧵👇
1 reply
0 recast
1 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
1/ First, let's address the elephant in the room, most L2s are just trying to be "faster Ethereum." MegaETH? They're bringing web2-level performance to web3.
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
2/ Philosophy Their design philosophy isn't about quick wins or isolated optimizations. It's about reaching hardware limits through first principles thinking. "Measure, then build", is megaETH philosophy!
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
3/ Most chains are bottlenecked by consensus. Think about it – every time you submit a tx, you're waiting for nodes worldwide to agree. That's a ~200ms minimum delay due to physics!
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
4/ They completely decouple consensus from execution. Instead of waiting for global agreement, one machine (the sequencer) builds blocks for a set period. Thanks to @0xBreadguy (from X) for the graphics <3
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
5/ The secret sauce? Node specialization taken to its logical extreme. • Sequencer: Performance powerhouse. • Provers: Security guardians. • Full nodes: State keepers. Each node is optimized for its specific role.
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
6/ Because of the node specialization megaETH can achieve extremely high throughput with low latency. • Sub-10ms latency. • 100k TPS. • Real time state updates. This makes the system highly performant.
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
7/ "But isn't that centralized?" Yes, but with a twist. MegaETH uses a rotational sequencer model. Different parties can run sequencers and get rotated in/out. Misbehave? Get slashed.
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
8/ One additional improvement megaETH did which might be not that obvious in the first place is but something which plagues every fast blockchain is... "How we are syncing the nodes when it's that fast?"
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
9/ Solving syncing through performance analysis. Example: 100k ERC-20 transfers/sec = 152.6 Mbps bandwidth. • Most nodes don't have 152.6 Mbps dedicated bandwidth • This are only transfers, imagine this are all uniswap swaps, the needed bandwidth increases to 476.1 Mbps. MegaETH is solving this problem through a technique called state diff compression. (Details are still pending)
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
10/ One additional performance killer is state root updates. Every blockchain needs to update its state root (a cryptographic commitment of all state) after each block. Most chains, including Ethereum, use Merkle Patricia Tries (MPT) wich is extremely IO intensive. • Need to read all nodes along the path. • Need to update all nodes along the path. • Need to recompute hashes at each level. MegaETH solves this through a custom parallel execution engine.
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
11/ The parallel execution challenge. Current chains are limited by workload dependencies, the megaETH solution is to have a priority lane for critical transactions.
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
12/ MegaETH's approach to accelerate the EVM is quite unique in the end. • RAM-resident state for fast access. • Advanced parallel execution. • Custom JIT compilation • Optimized opcode pricing All this is working together in harmony to make building real time applications possible on megaETH.
1 reply
0 recast
0 reaction

Coinage x DAIC pfp
Coinage x DAIC
@coinage-daic
13/ This all enables use cases that were impossible before like... • On-chain Minecraft (yes, really!) • Real time autonomous worlds. • True HFT on-chain. • DePIN with ms-level updates.
1 reply
0 recast
0 reaction