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
How to enter the bull market in May 2025? Recommended on entry exchangesHow to enter the bull market in May 2025? Recommended on entry exchangesMay 12, 2025 pm 08:51 PM

Recommended exchanges for bull market in May 2025: 1. Binance; 2. OKX; 3. Huobi; 4. gate.io; 5. Sesame Open Door and other exchanges. The above exchanges are safe and reliable, and support a variety of currencies. This article provides detailed download portal addresses.

2025 Huobi APKV10.50.0 Download Guide How to Download2025 Huobi APKV10.50.0 Download Guide How to DownloadMay 12, 2025 pm 08:48 PM

Huobi APKV10.50.0 download guide: 1. Click the direct link in the article; 2. Select the correct download package; 3. Fill in the registration information; 4. Start the Huobi trading process.

Recommended for Bull Market Exchange in 2025Recommended for Bull Market Exchange in 2025May 12, 2025 pm 08:45 PM

Recommended exchanges for bull market in May 2025: 1. Binance; 2. OKX; 3. Huobi; 4. gate.io; 5. Sesame Open Door and other exchanges. The above exchanges are safe and reliable, and support a variety of currencies. This article provides detailed download portal addresses.

2025 Huobi APKV10.50.0 download address2025 Huobi APKV10.50.0 download addressMay 12, 2025 pm 08:42 PM

Huobi APKV10.50.0 download guide: 1. Click the direct link in the article; 2. Select the correct download package; 3. Fill in the registration information; 4. Start the Huobi trading process.

2025 Huobi APKV10.50.0 download website2025 Huobi APKV10.50.0 download websiteMay 12, 2025 pm 08:39 PM

Huobi APKV10.50.0 download guide: 1. Click the direct link in the article; 2. Select the correct download package; 3. Fill in the registration information; 4. Start the Huobi trading process.

What are the bull market coins in 2025? Where to buy them convenientlyWhat are the bull market coins in 2025? Where to buy them convenientlyMay 12, 2025 pm 08:36 PM

Coin friends who soared in the bull market in 2025: 1. PI currency (suming 57.12% in 24 hours); 2. WIF currency (suming 44.59% in 24 hours); 3. KAS currency (suming 18.9% in 24 hours); 4. FLOKI (suming 17.98%); 5. PEPE (suming 15.45%). The above cryptocurrencies can be purchased on exchanges such as Binance, OKX, Huobi, gateio, etc. This article provides a detailed download entry address.

Huobi APKV10.50.0 version installation tutorialHuobi APKV10.50.0 version installation tutorialMay 12, 2025 pm 08:33 PM

Huobi APKV10.50.0 download guide: 1. Click the direct link in the article; 2. Select the correct download package; 3. Fill in the registration information; 4. Start the Huobi trading process.

What are the bull market transactions in 2025What are the bull market transactions in 2025May 12, 2025 pm 08:30 PM

Bull exchanges in May 2025: 1. Binance; 2. OKX; 3. Huobi; 4. gate.io; 5. Sesame Open Door and other exchanges. The above exchanges are safe and reliable, and support a variety of currencies. This article provides detailed download portal addresses.

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

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.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version