search
Homeweb3.0Modularity vs. Monolithic architecture is dead

Modularity vs. Monolithic architecture is dead

May 06, 2024 am 08:22 AM
BlockchainEthereumModular blockchain

Since the rise of Rollups, the expansion of blockchain has been focused on the debate between modularity and monolithization. Initially, this binary opposition was a useful mental model for reasoning about blockchain scalability, but now, these two The camps have all moved beyond it. Today, the contrast between modularity and

monolithic

brings unnecessary restrictions to our scalability mental model. So,

or

are there any alternatives? In this article, we

will

show how horizontal scaling versus vertical scalinghas always been the ## of blockchain scalability #Basic framework, And explain how adopting horizontal expansion and vertical can lead to better expansion solutions. Understanding modularity vs. monolithic

First, some definitions:

Modular

The chain separates

the core functionality of the blockchain into different layers. Monolithization

Chain integrates all core functionality into a single, interconnected layer.

We can think of "layers" as "machines" - Monolithic The chain has a

single

validator node that runs all tasks, while The modular chain has multiple (2-3) full nodes running different tasks.

模块化 vs. 单体化架构已死

For example, Rollup typically has two running nodes: a Rollup full node for execution, and one for Settlement Data Availability (DA) for Ethereum full nodes. Validium may use three running nodes: a Rollup full node for execution, an Ethereum full node for settlement, and one for DA Standby data availability tier full node.

Modular allocation of blockchain tasks to at least two full nodes. By doing this, modular blockchains can leverage the computing power of multiple computers when constructing each block.

This is a form of horizontal expansion.

Modularity is useful when thinking about blockchain scalability because it is a type of horizontal scaling.

模块化 vs. 单体化架构已死

##On the other hand, most of the

single camp chooses Scale through software optimizations, implementation of parallel virtual machines, data pipelines, faster network protocols, and (most notably) more powerful hardware. Essentially, a monolithic chain attempts to extract as much computing power as possible from a single full node. This is a form of

vertical expansion. Critics

believe

that this approach tends to be centralized: if you rely on increasing the power of a single node to scale, you will inevitably encounter the limitations of the underlying hardware. Physical limitations and forcing increased hardware requirements to scale further. However, this criticism is

incorrect

, because not all singleization chains rely solely on vertical scaling.

For example, Near is a monolithicL1 blockchain built on a sharded network architecture. This means that Near's full nodes are responsible for all tasks (i.e. execution, settlement, and data availability), but they are only responsible for a small portion of Near's global state. Therefore, Near leverages the computing power of multiple computers (just like a modular chain) by allocating work based on status rather than task .

模块化 vs. 单体化架构已死We can see that

nothing

is a single chain Still modular chains, have no restrictions in terms of the extension technologies they implement. Both can be expanded horizontally and/or vertically. In addition, the debate between modularity and monolithization is always rooted in the framework of horizontal and vertical expansion. From a strictly technical perspective, modular

tends to

horizontally expand, which is inherent in its design, while monolithic ##Tend to vertical expansion.

Now that we have successfully launched the modular chain, the additional expansion advantage is no longer "more modular". The focus now is on how the chain can utilize horizontal or vertical scaling techniques.

Adopting a horizontal vs. vertical thinking model allows us to easily reason about what each chain is doing in the process trade off.

Redefining the Conversation: Horizontal vs. Vertical Scaling

Before delving into the horizontal vs.vertical scaling framework, it’s important to acknowledge that its origins date back to the 20th century In the 1970s, distributed computing research laid the foundation for the concept of horizontal scaling. Today, all scaling technologies can be classified as horizontal or vertical scaling.

Vertical expansion

Vertical expansion will increase the hardware utilization of each node or Hardware requirements. In blockchain, this is usually done through software optimizations such as parallel virtual machines (i.e. multi-threaded processes).

A common example is EVM and SVM.

EVM executes transactions in order, while SVM executes transactions in parallel. SVM achieves this by utilizing more CPU cores, so SVM can handle more transactions per second than EVM. NOTE: This type of vertical extension is the foundation behind Eclipse L2.

In terms of trade-offs, vertical scaling is limited by available hardware, tends to be centralized due to increased hardware requirements, and is less scalable than horizontal scaling.

模块化 vs. 单体化架构已死

Horizontal expansion

On the other hand, Horizontal expansion Increase the number of machines the system can access by spreading the workload across multiple nodes. As mentioned before, modular chaining essentially distributes tasks across multiple machines. However, chains can often achieve a greater degree of horizontal scaling through sharding.

模块化 vs. 单体化架构已死

=nil;A useful example is provided here.

In November last year, the =nil; foundation launched a verifiable sharding architecture called zkSharding, which is the new Ethereum The basis of Fang L2. =nil; The core of the design is to divide its global state into multiple shards. Each shard is run by a =nil; decentralized committee, which builds blocks and manages cross-shard transactions . Additionally, each shard generates a validity proof that is sent to the master shard for aggregation and then published and verified on Ethereum. =nil; Take advantage of the ability of horizontal scaling in two ways:

  • First, =nil; is a A modular blockchain that leverages Ethereum's strong consensus and data availability as guarantees to distribute tasks

    across multiple full nodes.

  • Secondly,

    , =nil; is a sharded blockchain, so part of the state is distributed across many full nodes.

  • Both techniques reduce the load that any single machine needs to bear and
increase the

overall scalability of the network. So,

What are the trade-offs for horizontal

expansion? This comes down to two things: network and consensus complexity and asynchronous communication between machines or shards. The Endgame of Ethereum Scalability

Neither Horizontal Scaling nor Vertical Scaling

Bureau Limited to Modular or Monolithic ized architecture. This is why the horizontalvs.vertical scaling framework provides more space to explore new solutions and make modular blockchains more scalable.

For example, one option is to vertically extend one layer of the modular stack. A commonly method is to implement parallel virtual machines to improve execution throughput. As mentioned above, Eclipse is leveraging SVM and other Rollups, such asStarknet, implement BlockSTM for parallelization.

However, vertical expansion is always limited by the limitations of a single machine, and we cannot break the laws of physics.

One solution might be to opt for horizontal scaling via sharding .

Current modular designs are just beginning to touch the full potential of horizontal scaling. With sharding, we can leverage the computing power of any number of machines (rather than just 2-3 machines sharing tasks).

In other words, many machines can run the same type of tasks in parallel. This is what Ethereum and Celestia hope to achieve through Danksharding and data sharding respectively. However, sharding is not inherently limited to the data availability layer - it can also be combined with execution (as in the case of =nil; L2). If we combine the horizontal scaling achieved through the modular stack with the horizontal scaling provided by sharding, we will Get a massive increase in available computing power

. 模块化 vs. 单体化架构已死

But we can do better...

The ultimate goal of blockchain scalability will be convergence

Scale horizontally and vertically, resulting in a sharded blockchain with parallel virtual machines.

At the =nil;

Foundation,

we are systematically designing toward this end state Moving forward . 模块化 vs. 单体化架构已死=nil

;'s

L2 takes by leveraging a modular, horizontally scalable architecture (zkSharding) and vertically scalable validator implementation (intra-shard parallelization) An aggressive expansion roadmap. Thus, =nil;’s design enables global scale without sacrificing state, liquidity, or user fragmentation.

#If you are curious about horizontal scaling and zkSharding, you can join the conversation on the =nil; Foundation’s Discord and X.

The above is the detailed content of Modularity vs. Monolithic architecture is dead. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:ChainCatcher. If there is any infringement, please contact admin@php.cn delete
Tether CEO Paolo Ardoino Completes Visit to the United States, Meeting with Lawmakers in Washington, D.C. to Discuss Stablecoin RegulationTether CEO Paolo Ardoino Completes Visit to the United States, Meeting with Lawmakers in Washington, D.C. to Discuss Stablecoin RegulationApr 15, 2025 am 11:24 AM

His visit comes as the U.S. Congress moves closer to introducing legislation regulating stablecoins, which Ardoino believes is necessary for financial inclusion and preserving U.S. dollar dominance.

Why XRP Price May Not 'Go Parabolic' Post-SEC SettlementWhy XRP Price May Not 'Go Parabolic' Post-SEC SettlementApr 15, 2025 am 11:22 AM

The XRP price holds still in the $2.10-2.20 range for the past few days, but this is not stopping Ripple's community from continuing to post various content about XRP

Metaplanet Expands Its Bitcoin Treasury Holdings by Another 319 BTCMetaplanet Expands Its Bitcoin Treasury Holdings by Another 319 BTCApr 15, 2025 am 11:20 AM

In an announcement made earlier today, Japanese firm Metaplanet revealed it has acquired another 319 Bitcoin (BTC), pushing its total corporate holdings beyond 4,500 BTC.

Metaplanet Scoops Another 319 Bitcoin, Pushing Its Total Corporate Holdings Beyond 4500Metaplanet Scoops Another 319 Bitcoin, Pushing Its Total Corporate Holdings Beyond 4500Apr 15, 2025 am 11:18 AM

In an announcement made earlier today, Japanese firm Metaplanet revealed it has acquired another 319 Bitcoin (BTC), pushing its total corporate holdings beyond 4,500 BTC.

Ripple (XRP) price rallied through a weekend riseRipple (XRP) price rallied through a weekend riseApr 15, 2025 am 11:16 AM

Ripple (XRP) price rallied through a weekend rise from its $2.00 critical support mark to reach $2.23.

Bitcoin (BTC) drifts upwards as the broader market adjusts favorably to trade-related newsBitcoin (BTC) drifts upwards as the broader market adjusts favorably to trade-related newsApr 15, 2025 am 11:14 AM

The largest cryptocurrency was up 1.6% in the last 24 hours and is now trading just shy of $85,000. Ether (ETH), meanwhile, rose 2.7%

Is ADA the Sleeper Pick for the Next Bull Run? Hoskinson's $250K BTC Forecast Says YesIs ADA the Sleeper Pick for the Next Bull Run? Hoskinson's $250K BTC Forecast Says YesApr 15, 2025 am 11:12 AM

ADA has risen by 1.5% in the past 24 hours, with its move to $0.644 coming as the crypto market suffers a 2% loss today.

Solana Leads Market Recovery After Brief Dip Below $100Solana Leads Market Recovery After Brief Dip Below $100Apr 15, 2025 am 11:10 AM

Jimmy has nearly 10 years of experience as a journalist and writer in the blockchain industry. He has worked with well-known publications such as Bitcoin Magazine, CCN, and Blockonomi, covering news...

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.