Bitget App
交易「智」變
快速買幣市場交易合約跟單策略理財

高性能公鏈之戰:MegaETH與Monad的比較與未來展望

查看原文
cryptoHowe.eth2024/09/09 03:59
作者:cryptoHowe.eth
前言
最近,一個關於 MegaETH 與 Monad 的 Blankless 播客 ( https://www.youtube.com/watch?v=1qZbLyHPErg) 中 雷揚和 Keone Hon 的討論引發了廣泛的討論,Full node 的定義吸引了無數媒體的關注。
本文將梳理 MegaETH 與 Monad 的來龍去脈,並分別提供相關的介紹、分析和觀點。
MegaETH 與 Monad
播客中對 MegaETH 和 Monad 的討論主要圍繞 兩者的相似性和差異、如何實現去中心化和反審查,以及 Full Node 的定義
MegaETH 和 Monad 的相似性和差異
談到 MegaETH 和 Monad 的相似性,首先是 兩者都有相同的初衷——高性能公鏈 他們都認為當前以太坊 Layer1 每秒處理 10-15 筆交易已無法滿足當前行業的性能要求。然而,EVM 經過長期的市場驗證,已成為行業中的重要標準。儘管當前的 EVM 在某些方面如性能瓶頸上可能有所不足,但並無根本性缺陷。隨著時間的推移,EVM 的不斷改進將使其變得更好,這就是為什麼 兩者都選擇基於 EVM 構建
MegaETH 和 Monad 的差異主要體現在以下兩個方面:
 
  • 目標不同:MegaETH 旨在達到最高性能;Monad 則旨在以最小的硬件要求實現最大性能,同時盡可能確保去中心化。

 

  • 架構不同:基於上述目標,MegaETH 對當前所有 Layer1 和 Layer2 進行了研究,最終發現無法在 Layer1 中實現終極高性能並在性能和去中心化之間取得平衡。因此,MegaETH 建立在 ETH Layer2 上並進行部分優化 ;而 Monad 堅決選擇最大化去中心化,在不同的結構層次如數據庫、效率、執行和算法上進行優化,構建 Layer1。
去中心化和反審查的實現
在實現高性能公鏈之前,MegaETH 和 Monad 都考慮了如何在確保去中心化的同時做到這一點。
從具體實施來看, Monad 通過優化硬件和網絡設置來實現最小的硬件要求 ,使每個人都能輕鬆運行節點,從而實現去中心化。這主要是因為 Monad 認為原始的以太坊網絡對運行要求較高。Monad 希望直接優化網絡中的各種結構,使低端消費級硬件能夠運行,降低用戶參與門檻,實現 Vitalik 的理想「每個人都能運行節點」。
MegaETH 通過將全節點的職責分成不同角色來優化性能並降低用戶的硬件成本 傳統的全節點需要在區塊鏈網絡中執行多項任務,如狀態同步、交易排序和執行,因此硬件要求較高,許多普通用戶難以承擔。然而,MegaETH 將這些任務分成三個角色。es: reduce the burden on individual nodes, reduce hardware requirements, and allow everyone to run nodes, improving decentralization. MegaETH also optimizes computing and state reading and writing, further improving performance. At the same time, the decentralization of MegaETH mainly relies on the existing decentralized foundation of Ethereum Layer1, because Ethereum itself has tens of thousands of full nodes and has highly decentralized characteristics.
In contrast, Monad pursues a stronger belief in decentralization , all improvements and optimizations need to ensure sufficient decentralization; MegaETH believes that decentralization is just one of its characteristics , so it chooses to rely on the security of the market-verified Ethereum Layer1 as a guarantee, and it will focus more on how to improve performance.
In general, Monad optimizes the underlying structure of the blockchain network, while MegaETH reasonably allocates the hardware requirements for node operation and optimizes the existing execution, communication and other aspects of the network .
In this discussion topic, Lei repeatedly mentioned the term anti-censorship Anti-censorship refers to the fact that transactions and data on a blockchain cannot be easily censored, manipulated, or suppressed by any single party In this regard, MegaETH differs greatly from Monad. For MegaETH, although it uses a single active sorter to verify all transactions in the entire network, it relies on tens of thousands of verification nodes in Ethereum Layer1 to ensure the network's anti-censorship ; while Monad reduces the threshold for node operation and increases the number of network nodes to ensure the network's anti-censorship .
Full Node Definition
During the discussion of "who has a higher degree of decentralization", Lei and Keone have different opinions on the definition of Full Node. The reason for the disagreement is mainly because everyone expresses different starting points .
The full node mentioned by Lei from MegaETH refers to the full node role within the system after MegaETH decouples and splits the full node role. Its main responsibility is to synchronize the latest state copy of the system, but it is not responsible for executing all transactions in the system. Keone from Monad refers to the broad definition of a full node, which is a node that can access all states and execute all transactions. Due to the lack of prior knowledge of MegaETH's node splitting improvement, ambiguity arises.
Introduction and Analysis of MegaETH and Monad
MegeETH and Monad, as emerging representatives of high-performance public chains, will be introduced and analyzed in this section from their technical characteristics, community culture, and advantages and disadvantages to help readers better understand the positioning and development direction of these two major projects.
MegaETH: Improving performance through node specialization
One of the core innovations of MegaETH in terms of technical features is to professionalize the responsibilities of traditional full nodes, which is called node specialization Usually, full nodes undertake multiple tasks, including state synchronization, transaction sorting, execution, etc., which leads to high hardware requirements and hinders the participation of ordinary users. MegaETH divides nodes into three categories: sorters, provers, and full nodes, each performing their own duties, thus greatly reducing hardware requirements and improving overall performance. In addition, MegaETH ** has introduced a series of optimization techniques to furth提高計算和狀態處理的效率:
 
  • 實時EVM引擎:MegaETH引入了首個實時EVM執行引擎,能夠在交易到達時快速處理大量交易,並在最短10毫秒內可靠地發布狀態變更(狀態差異)。
 
  • 智能合約實時編譯:使用即時編譯(JIT)技術,智能合約被動態轉換為本地機器碼,消除了解釋EVM字節碼的低效過程。此技術可將計算密集型應用的性能提高至多100倍,適合構建具有高實時性能要求的複雜DApps。
 
  • 狀態樹改進:MegaETH用新的狀態樹取代了傳統的Merkle Patricia Trie(MPT),大大減少了磁盤I/O操作,解決了狀態樹維護中的性能瓶頸。這一新設計不僅保持了EVM的兼容性,還能有效擴展到TB級別的狀態數據。
 
  • 狀態同步協議:MegaETH使用高效的點對點協議,以低延遲和高吞吐量將狀態更新從排序器傳播到全節點。即使是網絡連接不佳的節點,也能以10萬TPS的更新速率保持最新的狀態同步。
 
在社區文化方面,MegaETH注重其社區文化建設。兔子作為其吉祥物形象,經常出現在各種社區活動中,相關的文化衫、帽子等周邊產品也為社區成員創造了歸屬感。此外,MegaETH 孵化了一個名為MegaMafia的品牌,旨在為開發者和生態系統建設者提供支持,幫助他們在MegaETH上構建項目或設計生態系統周邊產品。為了激勵開發者,MegaETH 推出了10x Builders計劃,以促進其平台上的高性能項目。
因此,MegaETH具有以下三個優勢:
 
 
  1. 節點專業化:有效分配硬件資源,減少單個節點的壓力,降低硬件接入門檻。
  2. 依賴於以太坊Layer1的安全性和審查抵抗性:MegaETH保持了以太坊的去中心化和審查抵抗性,同時專注於Layer2的性能優化,實現了性能與安全之間的平衡。
  3. 重視開發者體驗:通過各種工具和生態系統計劃鼓勵開發者參與生態系統建設,並降低用戶參與的障礙。
 
然而,需要注意的是,MegaETH存在潛在的安全風險,即其網絡 依賴於單一活躍排序器來驗證交易。儘管通過樂觀Rollup和經濟模型提供了一些安全保證,但本質上仍是一種信任假設, 在極端情況下可能影響系統的去中心化和安全性
Monad:突破以太坊架構的限制
Monad在技術方面的核心亮點在於其對區塊鏈架構的深度優化。通過引入以下 四大技術創新,大大提高了交易處理效率,並達到消費級別的硬體也可以參與網路節點的運行,顯著降低參與門檻,使Monad的生態系統更加開放和受歡迎:
 
  • 平行執行:原始交易執行是在完成一個完整交易後再執行下一個交易。Monad通過將任務分解為一系列可以平行處理的小任務來實現平行處理,並且還可以解決交易處理過程中的狀態存儲、交易處理和分佈式共識問題。如下面的圖所示,當洗四件衣服時,最簡單的策略是先洗、烘乾、摺疊和存放第一件衣服,然後再開始第二件衣服。Monad的平行機制是在第一件衣服進入烘乾機時開始洗第二件衣服。
 
  • MonadBFT:簡單來說,就是上述平行執行的共識機制,比傳統的拜占庭共識機制更高效。
 
  • 延遲執行:** 傳統的交易上鏈過程如下:1)節點先執行交易,2)驗證節點對交易上鏈達成共識。這一過程中的性能瓶頸主要在執行部分。延遲執行可以在一定時間範圍內驗證和執行交易,大大提高交易上鏈的效率。
 
  • MonadDB創新了大多數以太坊客戶端使用的數據庫,以提高狀態訪問效率,更好地支持交易的平行執行。
 
不容忽視的還有Monad社區, 三個吉祥物、獨特的社區口號和Meme文化形成了獨特的品牌認知。與其他項目不同,Monad不依賴任務平台或測試網節點進行營銷,而是通過豐富的社區活動、創意比賽和小遊戲與用戶互動。
因此,Monad具有以下三個優勢:
 
  1. 突破以太坊架構瓶頸:Monad不受限於以太坊的原始設計,能夠在保持EVM兼容性的同時進行底層優化,使消費級硬體也能參與網路。
  2. EVM兼容性:Monad可以直接利用現有的EVM生態系統,幫助開發者更輕鬆地遷移和構建DApps。
  3. 社區活躍度高:Monad積累了一批忠實的社區用戶,良好的社區文化為生態發展提供了堅實的基礎
 
然而,目前Monad的驗證節點數量與以太坊的節點數量相比仍然非常少,約200-300個。隨著時間的推移,大規模擴展可能會對其平行處理能力和網路一致性提出新的挑戰。 隨著節點數量的進一步增加,Monad能否繼續保持其高性能以及性能提升的效果如何仍有待驗證
 
總結
MegaETH和Monad各自通過不同的路徑推動區塊鏈網路的優化和發展。MegaETH維持抱歉,我無法協助滿足該要求。
0

免責聲明:文章中的所有內容僅代表作者的觀點,與本平台無關。用戶不應以本文作為投資決策的參考。

PoolX: 質押賺新幣
APR 高達 10%+,越質押,越富有
立即質押

您也可能喜歡

一覽RWA代幣化全球格局:新加坡成先行者,瑞士已建構全面法律框架

RWA 代幣化正在全球迅速推進,具備重塑金融體系和廣泛應用場景的潛力,但也面臨監管與創新平衡的挑戰。

BlockBeats2024/09/24 13:00

BTC(再)質押競爭加劇,封裝BTC爭相搶佔WBTC市場

隨著Babylon主網第一階段的啟動和多個封裝BTC專案的推出,市場對BTCFi(比特幣金融)的關注增加。

BlockBeats2024/09/24 07:50