What Is Blockchain Sharding?

BY
Seaver Choy
/
Feb 19, 2024

Sharding of data in databases is not a new concept. That's right! Sharding is a concept borrowed from horizontally scaling databases. Huge companies like Amazon, Azure, and MongoDB openly talk about how to implement database sharding for your specific application. Database sharding splits data into several servers, such that there will be fewer processing needed to query the data. In Web2, once the application has reached a certain number of users, the engineers would most certainly need to use database sharding to scale into different countries and handle millions of traffic e.g. Facebook, Netflix and Shopify. In essence, for a Web2 application to be able to handle global traffic, a technique to scale the database is to implement database sharding which allows a database to horizontally scale.

An illustration of database sharding by top Web2 companies

In the context of Web3, both the database and blockchain do one thing in common: store data. Sharding in databases allows one huge database to be cut into smaller databases and shared across multiple hardware and servers. In the case of blockchain, the same can be said in the nature of how large chains can be split into smaller chains and shared amongst multiple nodes or validators. To add, most proof-of-stake blockchains are utilizing sharding technology such as ETH, NEAR, DOT and ZIL. Blockchain sharding is seen as a solution towards solving the blockchain trilemma (scaling, security and decentralization). Sharding allows more data to be processed, while further decentralizing the blockchain by indirectly requiring more validators. In the case of NEAR, the number of validators increased to 300 from 100 due to blockchain sharding.

An illustration of blockchain sharding

The process and ideas behind how blockchain sharding is done is dependent on the blockchain you're researching about. Each of them have different ideas and approaches on implementing blockchain sharding. One thing is for sure, a scalable, secure and decentralized blockchain needs blockchain sharding, so really, in the future, may the best blockchain sharding solution win. 

Seaver Choy
Developer, Entrepreneur, Crypto Enthusiast

Seaver Choy has been passionate about technology since he was a child, from video games as a kid, to setting up his own computer rig as a teen, and working as a software engineer as an adult. He sees blockchain as the future of the transactional world, allowing people to easily create wallets without KYC and transact with each other without a middleman, ultimately reducing cost and making the world a bit more efficient.

GET MORE OF IT ALL FROM
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Recommended reads from the metaverse