🔍
What is sharding? It's one way blockchain can scale - YouTube
Channel: IDG TECHtalk
[6]
Scalability has been a perennial stumbling
block for blockchain, the much-hyped distributed
[11]
ledger technology.
[13]
That’s because as a blockchain grows, so,
too, does the amount of data stored on each
[17]
computer in the peer-to-peer network.
[20]
It’s a critical issue, because blockchain
has outgrown its cryptocurrency roots and
[25]
is now poised to re-shape supply chains, parts
of the FinTech world, real estate and a host
[30]
of other industries.
[32]
To achieve its full potential, blockchain
has to be able to grow exponentially without
[37]
becoming too slow or bogging down the computers
on which it runs.
[41]
That means making it scalable.
[43]
And that’s where "sharding" comes in.
[45]
Sharding is one of several methods being tested
by start-ups, developers and current blockchain
[50]
platforms such as Ethereum to see if it can
help blockchain developers finally climb the
[56]
scalability mountain.
[58]
To understand sharding, and how it might help,
you first have to understand a little more
[63]
about blockchains.
[64]
One of the main problems with public blockchains
involves something called “consensus protocols”
[69]
based on “proof of work.”
[72]
This is what underlies how transactions are
authenticated; a majority of the blockchain
[77]
users have to agree that proposed transactions
are authentic and can be added to the chain.
[83]
In other words, there has to be a consensus.
[86]
But consensus algorithms used by the likes
of bitcoin and the Ethereum payment network
[91]
are highly compute intensive.
[93]
They use a LOT of CPU cycles.
[96]
Further complicating things: Proof of Work-based
blockchains, require each authenticating computer
[101]
or node to records all the data on the chain
because it’s part of the consensus process.
[107]
But as more transactions occur, and the blockchain
grows, more computing cycles are needed.
[113]
And everything.
[114]
Slows.
[115]
Down.
[116]
How slow?
[117]
Well, bitcoin can only process 3.3 to 7 transactions
per second – and a single transaction can
[124]
take 10 minutes to complete.
[126]
Ethereum is a little faster; it can process
from 12 to 30 transactions per second.
[132]
But that’s nothing compared to Visa’s
50-year-old electronic payment network, VisaNet.
[138]
It processes around 1,700 transactions a second.
[142]
In order to compete with VisaNet and other
conventional networks in terms of scalability
[146]
and performance, blockchain needs turbocharging.
[150]
That’s where sharding comes in.
[151]
It’s been around for a while.
[154]
Originally designed for horizontal database
partitioning, sharding is a way of spreading
[158]
out the computing and storage workload from
a blockchain network so that each node no
[163]
longer has to process the entire network's
transactional load.
[167]
Each node only maintains the info related
to its specific partition, or shard.
[172]
Sharding allows a blockchain to remain decentralized
and secure, two of things that make it so
[178]
popular.
[179]
The information in a shard can still be shared
and everyone can see all the ledger entries.
[184]
But every node is freed from recording and
storing all data on every other node.
[190]
That allows data to be stored more quickly
and makes it easier to find because its location
[194]
is mapped on the blockchain.
[197]
Because fewer nodes now “see” and process
transactions, more transactions can be processed
[202]
in parallel.
[203]
While sharding could be the key to allowing
blockchains to scale securely, hurdles remain.
[209]
For one, if you’re going to maintain blockchain
security, you have to guard against what are
[213]
called shard takeovers.
[215]
(Corrupting the nodes in a given shard will
lead to the permanent loss of data.
[220]
That would be very bad.)
[221]
Ethereum tackles the security issue by randomly
assigning a node to a shard – and then randomly
[227]
reassigning those nodes to other shards.
[230]
A second challenge involves "thin" clients,
also called SPV (Simplified Payment Verification)
[236]
wallets, and ensuring that nodes have the
full picture of the blockchain’s current
[240]
state while it's divided among shards.
[243]
To address that issue, thin clients communicate
via separate networks and maintain local state
[248]
copies for each shard.
[251]
And finally, it’s important to note that
inter-shard communication, while good for
[256]
security, still poses a challenge – because
each shard appears as a separate blockchain
[261]
network.
[262]
So, you can see that while sharding has the
potential to eliminate a lot of the scaling
[267]
problems blockchain has, it’s still very
much in the development-and-testing phase.
[273]
Pretty much like blockchain itself.
Most Recent Videos:
You can go back to the homepage right here: Homepage





