LIVE NOW

Ethereum sharding plans explained

Posted: 2 May 2018 4:30 pm
News

Vitalik Buterin's Ethereum's sharding proof of concept suggests that development is well underway.

Scaling has been a major problem for many cryptocurrencies, many of which are trying to solve it in different ways. The scaling problem refers to slow network speeds. At the moment, the Ethereum network can only perform about 15 transactions per second, depending on circumstances, which simply isn't enough for large-scale global use.

It aims to solve this in a few different ways though. One of the upcoming solutions, which has been long anticipated but only recently outlined in additional detail by Ethereum creator Vitalik Buterin in a newly published proof of concept, is called "sharding." With it, Ethereum is expected to be able to scale up to about 1,000 transactions per second, with more room to grow as hardware gets more powerful.

Sharding refers to splitting up a blockchain network into separate components (shards) to improve network speed and scalability. The idea is that it's quicker and easier to process a smaller component, and you can still run all necessary information across it.

It's fairly simple in theory, but can be complicated in practice.

How Ethereum sharding works

Ethereum sharding essentially aims to run multiple strands of the Ethereum blockchain simultaneously, kind of like how a single large cable might contain hundreds of smaller wires. The big cable is the Ethereum blockchain, and the smaller wires are shards.

The problem is making sure all of these are perfectly secure in their own right and can reconcile with each other to maintain the same unified distributed ledger that makes up the blockchain itself.

Ethereum solves this by tying together the shards with a three-part system that consists of collation and notarisation stages.

"Collation" is when transactions are brought back to the main blockchain to be recorded on the ledger, and where the next set of transactions is sent back out to the shards. There are three different elements involved:

  • The beacon (not pictured): Sends transactions to proposers, who can create collations.
  • Collation: The work done by proposers, and the sending of transactions to notaries.
  • Notarisation: Checks collations and sends them on to the beacon.

Essentially, proposers collate and notaries notarise. Both of them function much like cryptocurrency miners on other networks.

The beacon

Buterin described the beacon as the "heartbeat" of sharding. It might be an apt description, with the beacon keeping time and pumping transactions around the shards, just like a heart pumps blood through the body. In this case, the beacon's heart is intended to pump every two to eight seconds.

The essence of the beacon is a random number generator, which is used to pick proposers. It needs to be random for security reasons in order to prevent anyone from unduly manipulating the network.

Initially, the beacon will be on its own separate "beacon chain", but the eventual plan is to move it onto the main Ethereum blockchain.

The proposer/collation

The randomly chosen proposer can create a collation of transactions. This is similar to a bitcoin miner bundling transactions into a single block.

Once they've made a collation, they can propose it for approval. This is done by sending it off to a number of different notaries.

The notaries

All notaries on the network will be notarising proposed collations. A collation gets approved once it's been successfully notarised by a random sample of at least four out of seven notaries. The eventual plan is to double up notarisation and proof-of-stake voting on the main Ethereum network to increase throughput even further.

Pros and cons

This system (most likely) works because it can securely process information off the main blockchain rather than having every single transaction clogging up the same blockchain and forming a queue. Each shard is connected to the main blockchain through a "cross link" which runs connections both from shards to the chain as well as from the chain to the shards.

When Buterin ran this model through a simulation, it included only 12 shards. The final version is expected to have 100 different shards, which is about the maximum limit with the current readily available hardware. This limit is the amount of information that can be effectively processed by each node.

There are also appropriate fail-safes built in. For example, if a proposer goes missing because their Internet dropped out, the system will give them about five seconds to make a collation before kicking it on to another proposer.

The main advantage is drastically improved throughput, but another key benefit of the final product is improved decentralisation. When notaries double as stakers on Ethereum Casper FFG, the staking amount can be drastically reduced. Currently, it's set to be about 1,000ETH, but Buterin estimates that it can be reduced to around 32ETH in later stages. This means a lot more people can operate nodes.

If everything works as intended, and if no additional security risks emerge as a result of this sharding plan, then there might be relatively few downsides except the need for both proposers and notaries to operate light Ethereum wallets and perhaps some yet-to-be-discovered downsides.

Starting at the top? Get a beginner's guide to Ethereum.

Disclosure: At the time of writing, the author holds ETH, IOTA, ICX, VEN, XLM, BTC and NANO.

Disclaimer: This information should not be interpreted as an endorsement of cryptocurrency or any specific provider, service or offering. It is not a recommendation to trade. Cryptocurrencies are speculative, complex and involve significant risks – they are highly volatile and sensitive to secondary activity. Performance is unpredictable and past performance is no guarantee of future performance. Consider your own circumstances, and obtain your own advice, before relying on this information. You should also verify the nature of any product or service (including its legal status and relevant regulatory requirements) and consult the relevant Regulators' websites before making any decision. Finder, or the author, may have holdings in the cryptocurrencies discussed.

Latest cryptocurrency news

Picture: Shutterstock

Latest crypto guides

Ask an Expert

You are about to post a question on finder.com.au:

  • Do not enter personal information (eg. surname, phone number, bank details) as your question will be made public
  • finder.com.au is a financial comparison and information service, not a bank or product provider
  • We cannot provide you with personal advice or recommendations
  • Your answer might already be waiting – check previous questions below to see if yours has already been asked

Finder only provides general advice and factual information, so consider your own circumstances, or seek advice before you decide to act on our content. By submitting a question, you're accepting our Terms of Use, Disclaimer & Privacy Policy and Privacy & Cookies Policy.
Ask a question
Go to site