Ελληνικά

What is sharding?

In short

Sharding is a technique that splits a blockchain’s workload into separate parts, called shards, so the network can handle more data or transactions in parallel.

By the Cryptonomy editorial team · Updated · 2 min read

Imagine a supermarket where every customer waits at the same checkout: no matter how fast the cashier is, the line has a limit. If more checkouts open and the work is shared, more customers can be served at once. That’s the basic idea behind sharding.

In a blockchain, the separate parts are called shards. Depending on the network’s design, they can split up transaction execution, data storage or the network’s state, i.e. information such as account balances. Not all sharding systems do the same job.

In an implementation that splits transaction processing, different groups of nodes can take on different shards. That way, not every node has to process every transaction. A coordination mechanism is still needed, though, so the parts work as a single network and agree on which changes are valid.

Why it matters

Sharding tries to improve scalability: how much additional usage a blockchain can handle without constantly requiring more powerful computers from every participant. If you send crypto or use decentralized apps, this can translate into less congestion and lower fees, depending on demand and the implementation.

We find it useful to separate technical potential from real-world experience. More shards don’t automatically guarantee faster transactions or lower costs. Coordination, how the load is distributed and the network’s rules all affect the outcome.

What to watch out for

The hard part is security and communication between shards. If a transaction affects data in different parts, they need to coordinate securely. That adds complexity and can cause delays.

Also, when validators are split into smaller groups, the design must prevent an attacker from taking control of an individual shard. So when you read that a project uses sharding, look at exactly what it splits, how it protects each shard and whether the feature is already live or still a plan.