What Is Sharding?

“Sharding” is a proposed method of splitting Ethereum’s infrastructure into smaller pieces in an attempt to scale the network.
Updated Mar 25, 2022 at 7:46 p.m. UTC
Crypto Explainer+

Alyssa Hertig is a programmer and journalist specializing in Bitcoin and the Lightning Network. She's currently writing a book exploring the ins and outs of Bitcoin governance. Alyssa owns some BTC.

“Sharding” is a proposed method of splitting the infrastructure of Ethereum into smaller pieces with the goal of scaling the platform so it can support many more users than it currently does.

Ethereum is the second-largest blockchain and was designed to make it easier to build decentralized applications that would give users more control over their finances and online data, among other envisioned benefits. The idea is these decentralized alternatives will spread, offering an alternative to apps – such as Robinhood or Twitter – that have a centralized point of control. Ethereum would thus serve as a “world computer,” open to all, that cannot be shut down.

However, in order to be able to offer strong alternatives to existing apps, Ethereum will need to be able to store massive amounts of data. For traditional apps, services like Amazon Web Services (AWS) store petabytes of data from thousands of applications. Right now, though, Ethereum is far from being able to store data as efficiently as a centralized web service like AWS. In fact, Ethereum has historically suffered platform-stopping performance lapses due to a single app taxing the network.

Sharding is one possible method of enabling Ethereum to store more data, a step it needs to take before its method of running decentralized apps, or “dapps,” will be able to go mainstream.

Where is Ethereum data stored?

If you replace intermediary services for applications, where is all the data stored?

Under the hood, Ethereum is made up of a global network of nodes run by Ethereum users and companies. Each node stores Ethereum's entire history. That means it stores all the data – which person sent a transaction on which date and how much money they sent – as well as smart contracts, code written to administer those funds with certain rules.

As you can imagine, this is a lot of data.

Why do multiple nodes need to store this entire elephant-sized history? This is what makes Ethereum decentralized, able to create applications that "no one can take down," as the primary Ethereum website puts it.

If only a few people are capable of running these nodes because they're so large, for instance, then the network is easier for individuals, or groups, to manipulate. If a single bad actor could commandeer enough of the nodes, they could rewrite Ethereum's history. Theoretically, that could empower a person to give himself more money at the expense of other Ethereum users.

That's why the easier it is to run these nodes, the less likely that scenario will happen because control is in the hands of more users. In turn, that makes it more likely that ether (or any cryptocurrency) can live up to its bold promises.

The problem is, these nodes typically require heavy-duty storage space and are complex to run and maintain.

Why does Ethereum need sharding?

Sharding could make running these full nodes easier.

According to block explorer Etherscan, Ethereum full nodes already take up at least five terabytes of space, which is about 10 times what the average computer can hold.

And the nodes are only going to grow bigger and harder to run over time and as more users join the platform.

Sharding is a common technique in computer science for scaling applications so they can support more data. If sharding can be properly implemented in Ethereum – which is still a big if – each user could store just a part of the history of changes to the database, as opposed to the entire thing, which is how a blockchain typically works.

Why isn't sharding a quick fix?

Sharding is harder than it sounds.

Let's say we split up an Ethereum node – or "sharded" it – into six pieces.

Piece one needs to be able to know the data coming from the other five nodes is correct. Otherwise it could be tricked into thinking a change was made that didn't really occur. This turns out to be a hard problem to solve, and developers are still seeking a solution.

When will sharding go live on Ethereum?

Sharding has been an idea since Ethereum emerged in 2013. It is still not clear yet whether it will work. Also, it's not clear when it will be added to Ethereum.

Sharding is a planned part of Ethereum 2.0, a series of upgrades to the Ethereum blockchain that officially began rolling out on Dec. 1, 2020. Sharding is more likely to be incorporated in the later stages of the upgrade because of its potential dangers and complexity. The official site of Ethereum expects sharding to ship sometime in 2023.

Further reading on Ethereum

A visual guide on everything Ethereum.

As the Ethereum network moves to proof-of-stake, Ethereum staking is a way ETH investors can earn a reward by locking up their coins.

A gas fee is something all users must pay in order to perform any function on the Ethereum blockchain.

This article was originally published on Dec 2, 2020 at 4:40 p.m. UTC


Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

The leader in news and information on cryptocurrency, digital assets and the future of money, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups. As part of their compensation, certain CoinDesk employees, including editorial employees, may receive exposure to DCG equity in the form of stock appreciation rights, which vest over a multi-year period. CoinDesk journalists are not allowed to purchase stock outright in DCG.

CoinDesk - Unknown

Alyssa Hertig is a programmer and journalist specializing in Bitcoin and the Lightning Network. She's currently writing a book exploring the ins and outs of Bitcoin governance. Alyssa owns some BTC.

CoinDesk - Unknown

Alyssa Hertig is a programmer and journalist specializing in Bitcoin and the Lightning Network. She's currently writing a book exploring the ins and outs of Bitcoin governance. Alyssa owns some BTC.

Related stories

CoinDesk - Unknown
Three Arrows Paper Trail Leads to Trading Desk Obscured Via Offshore Entities

As Three Arrows Capital collapsed under market pressure, its much-lesser known trading desk, TPS Capital, remained active, sources say. But a complex ownership structure might frustrate creditors' efforts to collect.

CoinDesk - Unknown
CoinDesk - Unknown
June Was Bitcoin’s Worst Month Ever

Plus, European crypto regulation comes into view.

CoinDesk - Unknown
CoinDesk - Unknown
What Traders Are Saying About Bitcoin's Biggest Monthly Loss in 11 Years

Poor macroeconomic sentiment, fears of inflation and systemic risks from the crypto market pushed the cryptocurrency below 2017’s highs.

CoinDesk - Unknown
CoinDesk - Unknown
Three Arrows Capital Files for Bankruptcy in New York Tied to British Virgin Islands Proceeding

A British Virgin Islands court ordered Three Arrows' BVI branch into liquidation earlier this week.

CoinDesk - Unknown

Crypto Terms


Crypto Flashcards & Glossary

View All