Cointime

Download App
iOS & Android

Understanding the rivalry between Modular vs Monolithic Blockchains

Validated Individual Expert

A blockchain, as we all know, is a distributed database that allows for secure, transparent, and tamper-proof data sharing. But the numerous potential applications of blockchain technology have sparked a heated debate in the crypto community about the best way to scale blockchains.

If you have been paying apt attention to the space, you’ll frequently hear of new protocols launching with claims of X thousand transactions per second. However, if you investigate these claims further, you will discover that they are all theoretical. The majority of them fail upon launch.

To fully comprehend why we require systems capable of thousands of tps, we must first comprehend blockchain design. To do so, we must consider the rivalry between Monolithic and Modular designs.

It is said that there are key points of comparison in every rivalry. The rivalry between Modular and Monolithic blockchains in the world of blockchains can be boiled down to three key areas: scalability, throughput, and data availability. Each has its own set of features, capabilities, and applications.

Let’s take a closer look at these three areas to see how Modular and Monolithic blockchains compare.

What’s a monolithic blockchain?

Consider a country in which only the president is responsible for all aspects of government. A country with no checks and balances. Isn’t it terrifying?

That is a straightforward definition of a monolithic blockchain. It is a blockchain in which all sets of responsibilities are handled on a single layer without the use of third-party services.

A blockchain performs four main tasks or functions:

  • Consensus: agreement on the verifiability of data. How a blockchain decides which blocks are valid and should be added to the chain.
  • Data availability: The amount of block space available in each block. To verify the receipt of data that must be made available upon request.
  • Execution: A blockchain’s computation. That is the Tx speed/state transition speed. Commitment to state changes: Settlement (Finality).

The consensus layer is the beacon chain. It informs you of what is true. The data layer informs you of what has already occurred, storage. The execution layer informs you of what is going on, compute.

All these layers are very complex but…

…monolithic blockchains have all nodes and all hardware of the chain trying to do all these three things at once in the same spot.

It is a blockchain that combines the consensus mechanism, data availability layer, settlement layer, and execution layer into a single layer. Typically, settlement and execution are linked.

All key features or responsibilities of a blockchain system are addressed internally in a monolithic blockchain. They typically prioritize decentralization and security at the expense of scalability (optimizing one attribute of the blockchain and restricting others).

…on the other hand, we have modular blockchains.

What’s a modular blockchain?

Modular blockchains are blockchains that operate on the modularity principle. They typically handle a specialized set of duties (often off-chain) and then outsource them to one or more separate layers.

Instead of the blockchain performing all three functions simultaneously (consensus, data availability, and execution), it can divide them into different categories, with the different roles and responsibilities of network participants performing these functions separately.

In that case, the execution layer is decoupled from the bottom consensus and data availability layers, allowing nodes to execute transactions independently rather than performing all transactions to test validity within a limited space or block.

These distinct components/layers can be combined to achieve a variety of objectives. Similar to pluggable modules, they provide greater flexibility and portability. It enables developers to optimize the various blockchain components in order to create a complete system. They enable the launch of new blockchains by simply outsourcing security, much like current layer 2 solutions.

Let’s look at Rollups as an example.

They are a common type of modular blockchain. Rollups process transactions (transactions) and delegate consensus, data availability, and settlement to their parent chain.

Ethereum was the first to begin the transition to a sharded modular blockchain structure. The chain is sharded into multiple sub-chains, each of which is responsible for a portion of network activity. These shards can now decide whether to process transactions or store data.

Now that we’ve discussed the differences between monolithic and modular blockchains, let’s look at their benefits and drawbacks.

Benefits of monolithic blockchains:

  • Monolithic blockchains can enforce secure transactions on their own nodes.
  • Nodes observe transactions on the blockchain and validate them after reaching a consensus. This solves data issues when blockchain data is stored in multiple nodes.
  • Utility: If users continue to use the token, a monolithic blockchain can provide additional value in the long run.
  • They are simple to recognize and even simpler to implement and design.

Benefits of modular blockchain:

  • Scalability: Using modularity in blockchains increases scale without introducing unwholesome trust assumptions.
  • Ease of design
  • Ease of chain deployment: By leveraging modular designs, new blockchains can launch faster without having to worry about getting every aspect of the architecture correct.
  • Flexibility: Purpose-built modular chains provide more options for trade-offs and design implementations. A modular blockchain system, for example, may include modular chains focused on security and data availability, while others focus on execution.

Now, regardless of the significant benefits of both blockchains, there are always trade-offs when deciding between different approaches. Let’s take a look at the disadvantages.

Drawbacks of monolithic blockchains:

  • Inefficient execution: A node on a monolithic chain may occasionally need to re-execute transactions for validity verification, resulting in delays.
  • Resource limits: Node source limits, such as bandwidth and storage, can have an impact on blockchain efficiency.
  • Flexibility: Monolithic chains are rigid and cannot optimize for desired characteristics without sacrificing another.
  • Scalability: Monolithic chains use faster block times and larger block sizes to achieve higher throughput. This increases the hardware requirements for nodes while decreasing the number of those who can validate the chain, resulting in centralization and increased security risks.
  • Security and decentralization: Monolithic blockchains limit block times and block sizes to achieve high decentralization. This increases the number of validating nodes but reduces throughput. This is due to the fact that it processes transactions on every node.
  • State bloat: Storing transaction data on-chain causes the blockchain’s size to grow exponentially over time. This can increase node hardware requirements and harm decentralization.

Drawbacks of modular blockchains:

Even though modular blockchains solve various issues where monolithic blockchain lags behind, modular architecture comes with its own set of drawbacks.

  • Unlike monolithic blockchains, which execute each blockchain function in a single layer, modular chains may lack protection-related characteristics.
  • Complexity: It is often difficult to design without the involvement of expert operators due to their design complexity. Similarly, execution layers must require certain complex mechanisms, such as fraud proofs and validity proofs, that allow the security layer to enforce the validity of off-chain state transitions. Complex designs require complex mechanisms to function.
  • Security risk due to reliance on third-party validity set. Cannot guarantee their own security in the same way that monolithic blockchains can. If the security layer (which typically handles consensus and data availability) fails, the modular chain may fail.
  • Tokenomics: Due to the limited application of chain components, it is difficult to attract token value. For example, a layer purely focused on consensus and data availability will likely see less use for its utility token compared to an execution layer.

Further Comparative analysis

First, let’s recap the definition of modular vs monolith

  • Monoliths do everything within one protocol, making them self-sufficient (but also inefficient). Even when there is downtime due to overload, they do not allow for an outsourcing function.
  • Modular chains are specialized because they only do a subset of things within their protocol. Hence, they are not-self sufficient. They must be combined with another chain to function; they do not function on their own.

So to tell if a chain is modular or monolithic, simply ask: “Does it need to be combined with another chain to function?” Yes? → modular. No? → monolithic.

Keeping this recap in mind…

i. Does Arbitrum (or any rollup) have a modular or monolithic design?

Well, Arbitrum requires another chain to post data to and resolve fraud, otherwise, it simply does not work. Hence, it is modular.

ii. Is Ethereum modular or monolithic in nature?

It is monolithic. Rollups can be deployed on top of Ethereum (as can any L1), but rollups are not required for Ethereum to function. It should also be noted that once launched, Ethereum’s danksharding component will be modular.

iii. What about Avalanche and its subnets? Is it modular or monolithic?

Each subnet is a standalone blockchain. They don’t need another chain to work. Hence, it is monolithic. It is important to note that just because a subnet’s code is built with a modular software stack does not make it a modular protocol!!

The modular blockchain layout is significantly more flexible than the monolithic blockchain layout. It is intended to provide miners with features not available in the monolithic blockchain. When miners focus less on specific functions such as consensus, they are able to leverage the layout and create new blockchains more quickly, regardless of blockchain architecture.

It’s also worth noting that in modular blockchains, consensus and data availability (DA) are inextricably linked. They must always be present as a single component of the DA layer in order to provide an accurate chronology of events. These two elements must always be present.

Next, we must also address the scalability trilemma, which states that a blockchain can only prioritize two of three factors: scalability, decentralization, and security.

Assume we have three teams to demonstrate this. A, B, and C are the respective teams.

We have high TPS chains like Solana and Binance Smart Chain on team A, which sacrifice decentralization. On team B, we have chains like Cosmos that sacrifice security, and on team C, we have chains like Bitcoin and Ethereum which focus on decentralization and security and therefore lose out on scalability. They make a sacrifice in some way.

This is true for all monolithic blockchains, but the idea is that we can achieve all of these factors in a blockchain using a modular approach.

Typically, in a monolithic blockchain design, all four tasks are carried out on the same layer which can be inefficient as the chain scales. With modular blockchains, each task can be specifically performed by one layer while the remaining tasks are off-loaded to other layers.

By allowing layers to focus on their specific task they can be specialized to do their objective really well. This increases flexibility because you are no longer required to make certain concessions in order to fit within the constraints of a monolithic blockchain.

Now, let’s explain this point better, using the Ethereum network.

In a monolithic blockchain, there’s one single blockchain within one chain of blocks that progresses. Furthermore, all validators validate that single chain. In the Ethereum protocol, there’s a gigantic pool of validators, around 300,000.

We can use this pool of validators and distribute it later on when we get shards. Instead of having all of the validators validating a single monolithic blockchain — when we get shards, which are more chains and more block space — we can actually spread these validators out across many shards. So, instead of 300,000 validators validating a single chain, we can have 5,000 validators validating a single shard and then adding more and more shards that are all combined together.

This would increase the amount of block space available at L1 while maintaining decentralization. So the data layer is a history/storage layer that contains everything computed. The rollups will then use these shards as information storage and will settle on them. The first shard iteration will add approximately 18 times more data than the Ethereum L1. This means Ethereum will be approximately 18 times more scalable.

When you add roughly 18 times more scale to the Ethereum L1, it’s not 18 times more scalable on the rollups, it’s much, much more due to the compression in the rollups.

When a small amount of data is added to Ethereum’s L1, the L2s can then use orders of magnitude more data because they eventually compress it down to a very small package of data and settle that on the L1. As a result, one megabyte on the L1 becomes equivalent to one gigabyte of transactional data on the L2. When you linearly increase the number of shards on Ethereum, you exponentially increase the number of transactions rollups can process.

The more validators we have, the more capital we have to protect and secure the blockchain, and the more validators we have, the more shards we can create, which adds more block space, and creates a lot of scale along the L2s.

Conclusion:

The only way out of the scalability trilemma is through decentralization.

If you only optimize for scalability, as many alternate layers 1 do, you increase hardware and node requirements, reducing the number of network participants and thus losing decentralization. When you optimize for execution, those chains move very quickly and the blocks are added to the ledger very quickly, but the only computers that can keep up with these chains are extremely powerful ones. If your computer is slow, you will fall behind.

Roll-ups, such as zkr, optimistic, and the like, are examples of modular blockchain approaches that have become popular topics in the crypto space. Celestia is another example, with a specific focus on the data availability layer.

On the other hand, some examples of a monolithic approach include chains such as Bitcoin, Solana, and even Ethereum 1.0. (prior to recent upgrades).

Both monolithic and modular approaches, as demonstrated in this article, are effective in their own right. As a result, developers must decide which approach is best for their specific use case. For example, a DeFi app may prioritize security and thus choose a monolithic design to provide a stronger security posture. However, if that same application is to prioritize throughput and execution speed, a modular design may be best suited for their use case.

This demonstrates that both designs serve a purpose.

Comments

All Comments

Recommended for you

  • Morgan Stanley: The U.S. dollar will peak before the end of the year and enter a "bear market pattern" in 2025

    Morgan Stanley predicts that the strong US dollar will peak before the end of the year and then enter a "bearish market trend", slowly declining until 2025. The bank believes that due to the Bank of Japan's rate hikes and gradual easing actions by the Reserve Bank of Australia, the potential for the yen and Australian dollar to rise next year is the greatest.

  • Equation News calls out Binance for "insider trading": You are destroying the sentiment of the trading market

    On November 25th, Formula News reported that to those insider traders who participated in the listing of Binance perpetual contracts, please slow down when selling your chips next time. The WHY and CHEEMS crashes you caused resulted in a 100% negative return for everyone involved in the trade, and you are destroying the emotions of the trade. Earlier today, Binance announced the listing of 1000WHYUSDT and 1000CHEEMSUSDT perpetual contracts, which caused a short-term crash in WHY and CHEEMS and sparked intense discussion within the community.

  • U.S. Congressman Mike Flood: Looking forward to working with the next SEC Chairman to revoke the anti-crypto banking policy SAB 121

     US House of Representatives will investigate Representative Mike Flood's recent statement: "Despite widespread opposition, SAB 121 is still operating as a regulation, even though it has never gone through the normal Administrative Procedure Act process." Flood said, "I look forward to working with the next SEC chairman to revoke SAB 121. Whether Chairman Gary Gensler resigns on his own or President Trump fulfills his promise to dismiss Gensler, the new government has an excellent opportunity to usher in a new era after Gensler's departure." He added, "It's not surprising that Gensler opposed the digital asset regulatory framework passed by the House on a bipartisan basis earlier this year. 71 Democrats and House Republicans passed this common-sense framework together. Although the Democratic-led Senate rejected it, it represented a breakthrough moment for cryptocurrency and may provide information for the work of the unified Republican government when the next Congress begins in January next year."

  • Indian billionaire Adani summoned by US SEC to explain position on bribery case

    Indian billionaire Gautam Adani and his nephew, Sahil Adani, have been subpoenaed by the US Securities and Exchange Commission (SEC) to explain allegations of paying over $250 million in bribes to win solar power contracts. According to the Press Trust of India (PTI), the subpoena has been delivered to the Adani family's residence in Ahmedabad, a city in western India, and they have been given 21 days to respond. The notice, issued on November 21 by the Eastern District Court of New York, states that if the Adani family fails to respond on time, a default judgment will be made against them.

  • U.S. Congressman: SEC Commissioner Hester Peirce may become the new acting chairman of the SEC

    US Congressman French Hill revealed at the North American Blockchain Summit (NABS) that Republican SEC Commissioner Hester Peirce is "likely" to become the new acting chair of the US Securities and Exchange Commission (SEC). He noted that current chair Gary Gensler will step down on January 20, 2025, and the Republican Party will take over the SEC, with Peirce expected to succeed him.

  • Tether spokesperson: The relationship with Cantor is purely business, and the claim that Lutnick influenced regulatory actions is pure nonsense

     a spokesperson for Tether stated: "The relationship between Tether and Cantor Fitzgerald is purely a business relationship based on managing reserves. Claims that Howard Lutnick's joining the transition team in some way implies an influence on regulatory actions are baseless."

  • Bitwise CEO warns that ETHW is not suitable for all investors and has high risks and high volatility

    Hunter Horsley, CEO of Bitwise, posted on X platform that he was happy to see capital inflows into Bitwise's Ethereum exchange-traded fund ETHW, iShares, and Fidelity this Friday. He reminded that ETHW is not a registered investment company under the U.S. Investment Company Act of 1940 and therefore is not protected by the law. ETHW is not suitable for all investors due to its high risk and volatility.

  • Musk said he liked the "WOULD" meme, and the related tokens rose 400 times in a short period of time

    Musk posted a picture on his social media platform saying he likes the "WOULD" meme. As a result, the meme coin with the same name briefly surged. According to GMGN data, the meme coin with the same name created 123 days ago surged over 400 times in a short period of time, with a current market value of 4.5 million US dollars. Reminder to users: Meme coins have no practical use cases, prices are highly volatile, and investment should be cautious.

  • Victory Securities: Funding Rates halved and fell, Bitcoin's short-term direction is not one-sided

    Zhou Lele, the Vice Chief Operating Officer of Victory Securities, analyzed that the macro and high-level negative impact risks in the cryptocurrency market have passed. The risks are now more focused on expected realization, such as the American entrepreneur Musk and the American "Efficiency Department" (DOGE) led by Ramaswamy. After media reports, the increase in Dogecoin ($DOGE) was only 5.7%, while Dogecoin rose by 83% in the week when the US election results were announced. Last week, the net inflow of off-exchange Bitcoin ETF was US$1.67 billion, and the holdings of exchange contracts and CME contracts remained high, but the funding rates halved and fell back, indicating that the direction of Bitcoin in the short term is not one-sided, and bears are also accumulating strength.

  • ECB board member Villeroy: Falling inflation allows ECB to cut interest rates

     ECB board member Villeroy de Galhau said in an interview that the decline in inflation allows the ECB to lower interest rates. In addition, the slow pace of price increases compared to average wages is also a factor in the rate cut. Villeroy de Galhau emphasized that the ECB's interest rate policy decision is independent of the Fed. Evidence shows that the ECB began to lower interest rates in early June, while the Fed lowered interest rates three months later. With the decline in inflation, we will be able to continue to lower interest rates. Currently, the market generally expects the ECB to cut interest rates by 25 basis points at the next meeting in December, but weaker data increases the possibility of a 50 basis point cut.