Scaling | ethereum.org (2024)

c

Last edit: @corwintines(opens in a new tab), May 7, 2024

Scaling overview

As the number of people using Ethereum has grown, the blockchain has reached certain capacity limitations. This has driven up the cost of using the network, creating the need for "scaling solutions." There are multiple solutions being researched, tested and implemented that take different approaches to achieve similar goals.

The main goal of scalability is to increase transaction speed (faster finality) and transaction throughput (higher number of transactions per second) without sacrificing decentralization or security (more on the Ethereum vision). On the layer 1 Ethereum blockchain, high demand leads to slower transactions and nonviable gas prices. Increasing the network capacity in terms of speed and throughput is fundamental to the meaningful and mass adoption of Ethereum.

While speed and throughput are important, it is essential that scaling solutions enabling these goals remain decentralized and secure. Keeping the barrier to entry low for node operators is critical in preventing a progression towards centralized and insecure computing power.

Conceptually we first categorize scaling as either on-chain scaling or off-chain scaling.

Prerequisites

You should have a good understanding of all the foundational topics. Implementing scaling solutions is advanced as the technology is less battle-tested, and continues to be researched and developed.

On-Chain scaling

On-chain scaling requires changes to the Ethereum protocol (layer 1 ). For a long time, sharding the blockchain was expected to scale Ethereum. This was going to involve splitting the blockchain into discrete pieces (shards) to be verified by subsets of validators. However, scaling by layer-2 rollups has taken over as the primary scaling technique. This is supported by the addition of a new cheaper form of data attached to Ethereum blocks that is specially designed to make rollups cheap for users.

Sharding

Sharding is the process of splitting a database. Subsets of validators would be responsible for individual shards rather than keeping track of all of Ethereum. Sharding was on the Ethereum roadmap for a long time, and was once intended to be shipped before The Merge to proof-of-stake. However, the rapid development of layer 2 rollups and the invention of Danksharding (adding blobs of rollup data to Ethereum blocks that can be very efficiently verified by validators) has led the Ethereum community to favour rollup-centric scaling instead of scaling by sharding. This will also help to keep Ethereum's consensus logic simpler.

Off-chain scaling

Off-chain solutions are implemented separately from layer 1 Mainnet - they require no changes to the existing Ethereum protocol. Some solutions, known as "layer 2" solutions, derive their security directly from layer 1 Ethereum consensus, such as optimistic rollups, zero-knowledge rollups or state channels. Other solutions involve the creation of new chains in various forms that derive their security separately from Mainnet, such as sidechains, validiums, or plasma chains. These solutions communicate with Mainnet but derive their security differently to obtain a variety of goals.

Layer 2 scaling

This category of off-chain solutions derives its security from Mainnet Ethereum.

Layer 2 is a collective term for solutions designed to help scale your application by handling transactions off the Ethereum Mainnet (layer 1) while taking advantage of the robust decentralized security model of Mainnet. Transaction speed suffers when the network is busy, making the user experience poor for certain types of dapps. And as the network gets busier, gas prices increase as transaction senders aim to outbid each other. This can make using Ethereum very expensive.

Most layer 2 solutions are centered around a server or cluster of servers, each of which may be referred to as a node, validator, operator, sequencer, block producer, or similar term. Depending on the implementation, these layer 2 nodes may be run by the individuals, businesses or entities that use them, or by a 3rd party operator, or by a large group of individuals (similar to Mainnet). Generally speaking, transactions are submitted to these layer 2 nodes instead of being submitted directly to layer 1 (Mainnet). For some solutions the layer 2 instance then batches them into groups before anchoring them to layer 1, after which they are secured by layer 1 and cannot be altered. The details of how this is done vary significantly between different layer 2 technologies and implementations.

A specific layer 2 instance may be open and shared by many applications, or may be deployed by one project and dedicated to supporting only their application.

Why is layer 2 needed?

  • Increased transactions per second greatly improves user experience, and reduces network congestion on Mainnet Ethereum.
  • Transactions are rolled up into a single transaction to Mainnet Ethereum, reducing gas fees for users and making Ethereum more inclusive and accessible for people everywhere.
  • Any updates to scalability should not be at the expense of decentralization or security – layer 2 builds on top of Ethereum.
  • There are application-specific layer 2 networks that bring their own set of efficiencies when working with assets at scale.

More on layer 2.

Rollups

Rollups perform transaction execution outside layer 1 and then the data is posted to layer 1 where consensus is reached. As transaction data is included in layer 1 blocks, this allows rollups to be secured by native Ethereum security.

There are two types of rollups with different security models:

  • Optimistic rollups: assumes transactions are valid by default and only runs computation, via a , in the event of a challenge. More on Optimistic rollups.
  • Zero-knowledge rollups: runs computation off-chain and submits a to the chain. More on zero-knowledge rollups.

State channels

State channels utilize multisig contracts to enable participants to transact quickly and freely off-chain, then settle finality with Mainnet. This minimizes network congestion, fees, and delays. The two types of channels are currently state channels and payment channels.

Learn more about state channels.

Sidechains

A sidechain is an independent EVM-compatible blockchain that runs in parallel to Mainnet. These are compatible with Ethereum via two-way bridges and run under their own chosen rules of consensus and block parameters.

Learn more about Sidechains.

Plasma

A plasma chain is a separate blockchain that is anchored to the main Ethereum chain and uses fraud proofs (like optimistic rollups) to arbitrate disputes.

Learn more about Plasma.

Validium

A Validium chain uses validity proofs like zero-knowledge rollups but data is not stored on the main layer 1 Ethereum chain. This can lead to 10k transactions per second per Validium chain and multiple chains can be run in parallel.

Learn more about Validium.

Why are so many scaling solutions needed?

  • Multiple solutions can help reduce the overall congestion on any one part of the network and also prevent single points of failure.
  • The whole is greater than the sum of its parts. Different solutions can exist and work in harmony, allowing for an exponential effect on future transaction speed and throughput.
  • Not all solutions require utilizing the Ethereum consensus algorithm directly, and alternatives can offer benefits that would otherwise be difficult to obtain.
  • No one scaling solution is enough to fulfill the Ethereum vision.

More of a visual learner?

Note the explanation in the video uses the term "Layer 2" to refer to all off-chain scaling solutions, while we differentiate "Layer 2" as an off-chain solution that derives its security through layer 1 Mainnet consensus.

Further reading

Know of a community resource that helped you? Edit this page and add it!

back-to-top ↑

Was this article helpful?

Scaling | ethereum.org (2024)

FAQs

What does scaling solutions mean? ›

A scaling solution is a method for allowing an expansion of a system by increasing efficiency and output while minimizing the impact on present operations. Second-layer protocols (such as sidechains and off-chain layers), which are built on top of the main chain, are used on blockchains as scaling solutions.

What are Ethereum scaling solutions? ›

Ethereum's scaling strategy appears to converge on two main fronts: rollups and Ethereum 2.0 Phase 1 data sharding. Rollups, including both Zk rollups and optimistic rollups, are seen as promising layer 2 solutions to alleviate congestion on the Ethereum mainnet while maintaining security and decentralization.

Where did we go wrong with Ethereum scaling? ›

Compromised network effects

First, the lack of unified liquidity across the L2 ecosystem creates a barrier to entry for users looking to tap into a singular network whether it be for trading, swapping or staking needs. Another barrier to entry for app founders and developers is the user distribution across all chains.

Why can't Ethereum scale? ›

The main reason behind Ethereum's scalability bottleneck is that each node in the network has to process each transaction. Remember that nodes perform the job of verifying that the miners' work is valid.

What are the 3 types of scaling? ›

Statisticians often refer to the "levels of measurement" of a variable, a measure, or a scale to distinguish between measured variables that have different properties. There are four basic levels: nominal, ordinal, interval, and ratio.

How do you explain scaling? ›

Scaling means multiplying each dimension of a real-life object by its scale factor (a constant used for scaling). Uniform scaling uses a single scale factor for all dimensions, thereby producing a similar model (proportional sides and congruent corresponding angles) to the original object.

What are blockchain scaling solutions? ›

Scalability in the blockchain refers to the network's ability to handle a high transaction throughput, and it is the primary criterion for minimizing network disruptions. The increased use cases and adoption of blockchain technology cannot affect the efficacy of a blockchain platform with exceptional scalability.

What is scaling in Bitcoin? ›

Crypto scalping is a short-term trading strategy aimed at profiting from small price changes in the market. Traders who use this strategy, known as scalpers, execute a high number of trades over short time frames, often holding positions for just seconds or minutes.

Will Ethereum ever be scalable? ›

Ethereum aims to become the most secure and scalable settlement layer for the dApps built on its network. “Ethereum 2.0” lays out the plan to address scalability challenges by dividing the network into specialized parts, such as processing transactions, storing transaction data, or ensuring all transactions are valid.

What is causing Ethereum to fall? ›

Ether price continues to plunge as troubled investors worry about the lack of spot Ether inflows, declining Ethereum network fees and a potential tech stock bubble bursting.

What is the biggest problem with blockchain? ›

Security issues
  • 51% attacks. Blockchain technology designs, for example, differ in architecture. ...
  • Flash loan attacks. The other security problem that blockchain networks face is flash loan attacks. ...
  • Coding loopholes. ...
  • Centralization of information. ...
  • Side-chains: A solution to blockchain's scalability issue.

What are the biggest problems with Ethereum? ›

Ethereum, the second-largest cryptocurrency, has encountered several challenges, including scalability, high transaction fees, and security concerns. These challenges have affected the efficiency and accessibility of the Ethereum network.

What is the best scaling solution for Ethereum? ›

Projects like Polygon, Optimism, and Arbitrum are leading the charge, showcasing the best of layer-2 scaling technology. As the crypto market continues to evolve, these layer-2 solutions are poised to play a pivotal role in shaping the future of blockchain technology and decentralized applications.

Is Cardano more scalable than Ethereum? ›

Both Ethereum and Cardano offer staking, but the rewards and requirements might differ at any given time. Q5. Which platform is more scalable in handling a large number of transactions per second? Cardano, with its Ouroboros PoS protocol, has emphasized scalability from the outset.

Why is Ethereum flawed? ›

Ethereum's original design was not prepared for the current demand, resulting in network congestion and high gas fees. Ethereum's flexibility in smart contract execution introduces risks of breaches and exploits, as seen in past incidents like the DAO hack.

What is the scaling solution? ›

A scaling solution is fundamentally a method of enabling a system's expansion, such as improving its efficiency and output, without hurting the existing operations.

What is a scalable solution? ›

Scalability is the ability of a solution to handle increasing demand, complexity, or diversity without compromising its performance, quality, or efficiency. It is a crucial factor to consider when evaluating and selecting solutions for creative problem solving, especially in dynamic and uncertain contexts.

What is scaling technique in simple words? ›

Scaling methods are divided into two main categories, open questions and closed question. Scaling is the process of generating the continuum, a continuous sequence of values, upon which the measured objects are placed. An open question is one in which the respondent does not have to indicate a specific response.

What does scaling services mean? ›

Scaling a service is the process of increasing or decreasing the capacity and resources given to a service to meet changing demand. Scaling is important to make sure that a service can keep up with growing demand without putting users out of service or causing other problems.

Top Articles
Is My Spouse Entitled to My Pension in a Divorce?
Car Insurance for Driving in Mexico - QuoteWizard
$4,500,000 - 645 Matanzas CT, Fort Myers Beach, FL, 33931, William Raveis Real Estate, Mortgage, and Insurance
Shoe Game Lit Svg
Nco Leadership Center Of Excellence
Comforting Nectar Bee Swarm
Wmu Course Offerings
New Day Usa Blonde Spokeswoman 2022
Best Private Elementary Schools In Virginia
World Cup Soccer Wiki
2021 Lexus IS for sale - Richardson, TX - craigslist
2016 Hyundai Sonata Price, Value, Depreciation & Reviews | Kelley Blue Book
Med First James City
Hijab Hookup Trendy
Craigslist Farm And Garden Cincinnati Ohio
Divina Rapsing
Whitefish Bay Calendar
Td Small Business Banking Login
Why Are Fuel Leaks A Problem Aceable
Amelia Chase Bank Murder
Jayme's Upscale Resale Abilene Photos
Top 20 scariest Roblox games
Tactical Masters Price Guide
Www Mydocbill Rada
Bridgestone Tire Dealer Near Me
Redding Activity Partners
Swgoh Boba Fett Counter
The Venus Flytrap: A Complete Care Guide
Puretalkusa.com/Amac
Directions To 401 East Chestnut Street Louisville Kentucky
The Transformation Of Vanessa Ray From Childhood To Blue Bloods - Looper
Plead Irksomely Crossword
The Best Restaurants in Dublin - The MICHELIN Guide
Froedtert Billing Phone Number
PruittHealth hiring Certified Nursing Assistant - Third Shift in Augusta, GA | LinkedIn
Suffix With Pent Crossword Clue
Nid Lcms
Craigslist Minneapolis Com
Penny Paws San Antonio Photos
Truck Works Dothan Alabama
10 Types of Funeral Services, Ceremonies, and Events » US Urns Online
John Wick: Kapitel 4 (2023)
Zom 100 Mbti
Headlining Hip Hopper Crossword Clue
Richard Mccroskey Crime Scene Photos
Used Auto Parts in Houston 77013 | LKQ Pick Your Part
Craigslist Sarasota Free Stuff
Game Like Tales Of Androgyny
Frank 26 Forum
8663831604
Ranking 134 college football teams after Week 1, from Georgia to Temple
Latest Posts
Article information

Author: Roderick King

Last Updated:

Views: 5987

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.