📖
Web3 Encyclopedia
  • Welcome aboard!
  • Source
  • 😀Evolution from Web 1.0 to Web 3.0
    • Web 1.0 Web 2.0 Web 3.0
    • Key Features
    • Current Limitations
    • Future of Web 3.0
    • Learn: What Is Web3?
    • Learn: Will Every Brand Have a Web3 Strategy?
    • Learn: Big Ideas in 2023
    • Learn: The Web3 Paradox: Why Scaling Usage Alone Won't Lead to Mass Adoption?
    • Learn: Is Web3 A Marketing Buzz or Tech Revolution?
    • Learn: What is the relationship between blockchain and Web3?
    • Learn:Empowering Women in Web 3.0: The Role and Contributions of Women in Blockchain, DeFi, and dApp
    • Learn: Web 3.0 and the Future of E-Commerce
    • Learn: 12 ways ecosystem projects can attract more developers
    • Learn: How Web3 is Impacting Education?
    • Learn: Web3 And The Future Of Digital Advertising
    • Learn: Web3’s impact on personalization, trust and engagement
    • Learn: Web3-Powered Identity Management -- Unlocking the Benefits of Decentralization
    • Learn: Why Web2 companies fail in Web3 while others made it?
    • Learn: To Identify or Not in a Web3 World?
    • 🤫[Insider Series] McKinsey x Web3
    • TL;DR 👀
  • 💲Blockchain Fundamentals
    • Why is Blockchain So Popular?
    • Introduction to Blockchain
    • Blockchain Misconceptions
    • Blockchain vs Bitcoin, Database, Cloud
    • Consensus Mechanism
    • Public and Private Keys
    • Hash Functions and Cryptography
    • Sharding
    • Types of Blockchains: PoW, PoS and Private
    • Understanding Cryptocurrency
    • Coins vs Tokens
    • Blockchain Trilemma
    • Legality
    • Learn : Google’s Cloud Based Blockchain Node Service
    • Learn: How Blockchain, Digital assets, and Web3 Unlock Financial Inclusion Globally
    • Learn: Will Chinese-Made Crypto Soar Higher?
    • Learn: What Does MiCA Mean for Crypto in Europe?
    • Learn: Unraveling the Intricacies of Blockchain Forensics and Asset Tracking
    • Learn: Promising blockchain use cases in healthcare industry
    • Learn: The Role of Blockchain in Authenticating and Provenance Art
    • Learn: Blockchain-Based Digital Identity: Benefits, Risks, and Implementation Challenges
    • Learn: The Future of Energy Supply Chains
    • Learn: Revolutionizing smart contracts and cryptocurrency
    • Learn: Nigeria goes blockchain
    • Learn: A Game Changer for Online Gaming?
    • Learn: Is blockchain technology ready for high-storage applications?
    • Learn: Will Blockchain Technology Mark a Turning Point in Fraud Prevention?
    • Learn: Why ZK-rollups need data availability?
    • Learn: How will generative AI disrupt blockchain?
    • Learn: A New Blockchain for Generative AI?
    • TL;DR 👀
  • 🏟️Web3 Utilities
    • Decentralized Applications (dApps)
    • Cross-chain Bridges
    • DAO
    • Artificial Intelligence
    • Learn: Is Community-building Essential for Web3 Startups?
    • Learn: ‘Decentralization Theater’
    • Learn: Crypto and AI- A yay or nay combination?
    • Learn: Dissecting the DAO
    • Learn: What is motivating Lido DAO to rise?
    • Learn: How to Turn Your Community Into a DAO?
    • Learn: The Key to Decentralized Decision Making
    • Learn: How Web 3.0 can disrupt the supply chain industry?
    • TL;DR 👀
  • 🪙Bitcoin
    • What is Bitcoin
    • Bitcoin's Blockchain Technology
    • UTXO Model and Transaction Fees
    • Bitcoin Mining and Mempool
    • Learn: What is bitcoin mining?
    • What are Hard Forks and Soft Forks
    • What is SegWit and the Lightning Network
    • Bitcoin Ecosystem
    • Can Bitcoin be Destroyed? Game Theory and Network Attacks
    • Learn: Crypto token supplies explained
    • Learn: What is crypto tax-loss harvesting, and how does it work?
    • Learn: Can Crypto Go Green? How to Invest in Eco-Friendly Cryptocurrencies
    • Learn: Why Did FTX Collapse? Here’s What to Know.
    • Learn: How Sam Bankman-Fried swindled $8 billion in customer money?
    • Learn: How much is Bitcoin worth today?
    • Learn: The Costs of Running a Bitcoin Node In Nigeria
    • Learn: Has 2022 Left Any Crypto Positives?
    • Learn: How Crypto Exchanges Can Be Free of Risk?
    • Learn: Greed, Lies and FTX: Is Crypto a Force for Good or Evil?
    • Learn: Is Crypto a Cultural Movement?
    • Learn: What are the consequences of crypto’s ongoing regulatory process?
    • Learn: Beyond the Crash and Embracing NFTs?
    • Learn: Understanding crypto bag holders and their mindset
    • Learn: Inscriptions: Just A Fad, Or A Real Threat To Bitcoin Becoming Decentralized Money?
    • Learn: How Bitcoin Ordinals Can Change the Future Of Mining?
    • Learn: What is a supernet?
    • Learn: Bitcoin Miners Celebrate 10 Years Since First ASIC, What Changed Since Then?
    • Learn: Bill Vs. CBDC – Why This US Congressman Wants To Block The Fed From Issuing A Digital Dollar?
    • Learn: Why Bitcoin Will Blow People’s Minds In 2025?
    • Learn: How the Howey Test Sheds Light on Cryptocurrency's Regulatory Gray Area
    • Learn: Cryptocurrency vs AI: A Complex Debate
    • Learn: Where the U.S. Government Went Wrong in Regulating Crypto?
    • Learn: The Nostr Privacy Paradox
    • Learn: Do algorithmic stablecoins have a future as centralized coins are under scrutiny?
    • Learn: Is Bitcoin Set To Revolutionize The Financial World With Its Superior Purchasing Power?
    • Learn: What is Shibarium, and what does it mean for Shiba Inu?
    • Learn: What is a crypto dusting attack?
    • Learn: Is the Adoption of Central Bank Digital Currencies (CBDCs) the Future?
    • Learn: How Artificial Intelligence Could Revolutionize Crypto?
    • Learn: What’s next for EU’s crypto industry as European Parliament passes MiCA?
    • Learn: Why the EU Has MiCA and the U.S. Has Securities Law Confusion?
    • Learn: Six New Projects Looking to Mitigate Bitcoin Mining’s Energy Footprint
    • Learn: Who on Crypto Twitter chose not to pay for a blue checkmark?
    • Learn: What is the wash-sale rule in Crypto?
    • Learn: What is Pepecoin and can it flip memecoins Dogecoin and Shiba Inu?
    • Learn: Can you recover stolen Bitcoin from crypto scams?
    • Learn: What the ‘anti-mining bill’ means for the crypto industry in Texas?
    • Learn: Does the US have a crypto ‘tax loophole’ problem?
    • Learn: How users can stay protected?
    • Learn: How Crypto Revolutionize Cheaper and Faster Transactions?
    • Learn: Can NFTs and CFDs be BFFs?
    • Learn: A PR expert’s tips for memecoin projects
    • Learn: Why politicians aren't convinced about the Digital Euro?
    • Learn: How A 90-Year Old TA Theory Predicted The Sudden Bitcoin Boom?
    • Learn: Social Trading Platforms and CFDs: A New Paradigm in Investment
    • Learn: How could the Chinese economic crisis impact Bitcoin and crypto?
    • Learn: How do they compare: Bitcoin IRA vs. traditional IRA?
    • Learn: Why Tokenized Assets Are Safer During a Banking Crisis?
    • TL;DR 👀
  • 🛢️Ethereum
    • Bitcoin vs Ethereum
    • What can Ethereum do?
    • What is Ether (ETH)?
    • What's Unique About ETH?
    • What are Smart Contracts?
    • Energy Consumption?
    • Ethereum Virtual Machine (EVM)
    • Pros & Cons of Smart Contracts
    • Decentralized Applications (dApps)
    • Ethereum Token Standards (ERC-20, ERC-721 and ERC-1155)
    • Evolution of Ethereum
    • How to Get Your First Ethereum
    • Learn: Next Ethereum Upgrade — Shanghai Upgrade
    • Learn: Tipping Scale for Crypto Adoption: Usability vs. Accessibility
    • Learn: Major Publicly Traded U.S. Bitcoin Miner Files For Chapter 11 – Impact On The Market?
    • Learn: 5 altcoin projects that made a real difference in 2022
    • Learn: How Tether Can Be a More Stable Stablecoin?
    • Learn: Are the Ethereum Killers Still Deadly?
    • Learn: What Ethereum Tech Trends Are Weathering the Bear Market?
    • Learn: How Ethereum’s token burns are making it a deflationary cryptocurrency?
    • Learn: A few things to know about Ethereum's Shanghai Upgrade
    • Learn: The Role of Enterprise Ethereum
    • Learn: Understanding Layer 2 Scaling Solutions for the Ethereum Network
    • Learn: The Battle of Giants: Bitcoin vs Ethereum
    • Learn: Cryptography, Smart Contracts and Distributed Networks
    • Learn: The Memecoin Grift and How It Threatens Ethereum Culture
    • Learn: What Is Ethereum’s ‘Data Availability' Problem, and Why Does It Matter?
    • TL;DR 👀
  • 👛Wallet
    • What is a Blockchain Wallet?
    • Hardware / Software Wallet
    • How to Get Your First Cryptocurrency
    • Setting up Metamask Wallet
    • Learn: How to connect the Avalanche network to MetaMask?
    • Learn: How to pass on your crypto when you die?
    • Learn: What are hierarchical deterministic (HD) crypto wallets?
    • Learn: Pros and Cons of Digital Wallets
    • Learn : How Web 3.0 Wallets Are Redefining Digital Asset Security?
    • Learn: Open source: Buzzword or real security for crypto wallets?
    • TL;DR 👀
  • 🌕New & Rising Protocols
    • Binance
    • NEAR
    • Solana
    • Fantom
    • Polygon
    • Cardano
    • Polkadot
    • Cosmos
    • Harmony
    • Cronos
    • Optimism
    • Terra
    • Who Will Win the L1 Wars?
    • Learn: New Layer 1 Blockchains Are Expanding the DeFi Ecosystem But No Eth Killers Yet
    • Learn: Is an Increased Focus on Layer-2 Scaling and ZK Technology Justified?
    • Learn: What Are the Stakes in the SEC vs. Ripple Case?
    • Learn: What is The Graph, and how does it work?
    • TL;DR 👀
  • 📈Decentralized Finance (DeFi)
    • CEX vs DEX
    • CeFi vs DeFi
    • Algorithmic Stablecoins
    • Airdrop
    • Liquidity Pool
    • Impermanent Loss
    • Swapping
    • Wrapped Token
    • Arbitrage Opportunities
    • Staking
    • Yield Farming
    • Total Value Locked (TVL)
    • Gas Fees
    • Lending & Borrowing
    • Useful Tools
    • Activity: Uniswap & Pancake Swap
    • Learn: Automated Market Makers (AMMs) in DeFi
    • Learn: Crypto Moving towards ESG: What Is Regenerative Finance (ReFi)
    • Learn: What Is dYdX? Understanding the Decentralized Crypto Exchange
    • Learn: It's A Wrap - DeFi in 2022
    • Learn: Why DeFi should expect more hacks this year?
    • Learn: The Security Challenges of DeFi
    • Learn: The Promising Future of Decentralized Social Media on Web 3.0
    • Learn: Can CBDCs, Tokenized Deposits, Stablecoins and DeFi Coexist?
    • Learn: The Increasing Popularity of DeFi and Its Potential to Disrupt Traditional Finance
    • Learn: The future of DeFi is ReFi
    • Learn: DeFi aggregation
    • TL;DR 👀
  • 🙈Non-Fungible Token (NFT)
    • What are NFTs?
    • Case Study
    • Storage
    • Who are the Players?
    • NFT Marketplace
    • NFT Useful Resources
    • Activity: Mint Your Own NFT
    • Learn: How You Can Prevent Hackers From Stealing Your NFTs?
    • Learn: What Is an NFT Floor Price?
    • Learn: Should Bored Ape buyers be legally entitled to refunds?
    • Learn: China’s view of NFTs different from rest of the world’s
    • Learn: NFTs IRL: How Digital Collectibles Are Forging Offline Experiences
    • Learn: How NFT Brands Can Cut Through The Noise
    • Learn: How Web3 disrupts the music sector?
    • Learn: Unlockable content in NFTs
    • Learn: Why Meta Matters in NFTs?
    • Learn: Should NFT Marketplaces Become Centralized?
    • Learn: Hermès vs. MetaBirkins: The NFT Case That Could Have Major Trademark and Artistic Consequence
    • Learn: What are phygital NFTs, and how do they work?
    • Learn: What is NFT ticketing and how does it work?
    • Learn: Why Solana NFT marketplace is seeing less active users?
    • Learn: NFTs and Intellectual Property
    • Learn: How AI Is Changing Artistic Creation and Challenging IP Laws?
    • Learn: The Future of NFTs: Exploring Dynamic NFTs and Their Versatile Use Cases
    • Learn: NFTs in the event and ticketing industry
    • Learn: What is NFT rarity, and how to calculate it?
    • Learn: What happens to your NFTs when you die?
    • Learn: Dogecoin-Like Spike in Milady NFTs After Elon Musk’s Tweet, But Will It Last?
    • Learn: What are NFT royalties, and how do they work?
    • Learn: How developers aim to store crypto inside NFTs?
    • Learn: Generative Art NFTs: What Are They & Why Are They So Popular?
    • TL;DR 👀
  • 💗Metaverse
    • What is the Metaverse?
    • Metaverse Economy
    • Metaverse Companies
    • GameFi
    • Learn: Are We in the Metaverse Yet?
    • Learn: Can the Metaverse exist without blockchain?
    • Learn: Can the Metaverse Facilitate Sustainable Growth of Defi Systems?
    • Learn: What is the role of biometrics in the metaverse?
    • Learn: Can metaverse be the future court?
    • Learn: Metaverse Fashion Is on the Rise, but for Whom?
    • Learn: Sustainability in the Metaverse: Challenges and Opportunities
    • Learn: How To Build A Responsible Metaverse?
    • Learn: What is a VTuber, and how do you become one?
    • Learn: How proof-of-identity provides human experiences?
    • Learn: The “Metaverse” Next Frontier for Business: Impact And Challenges
    • Learn: The 5 Biggest Misconceptions About The Metaverse
    • Learn: Why culture and ownership are critical to the metaverse?
    • TL;DR 👀
  • 👾Career in Web3 (coming soon)
    • Developers
    • Moderators
    • Community Managers
    • UI/ UX Designers
    • Digital Fashion Designers
  • 🌱Sustainability (Coming Soon)
    • Industry Effort
    • Co-author
Powered by GitBook
On this page
  • What is sharding?
  • Understanding sharding
  • How sharding is accomplished
  • Sharding and security
  • Protocols with sharding technology
  1. Blockchain Fundamentals

Sharding

PreviousHash Functions and CryptographyNextTypes of Blockchains: PoW, PoS and Private

Last updated 2 years ago

What is sharding?

Sharding is a database partitioning technique used by companies with the purpose of scalability, enabling them to process more transactions per second. Sharding splits a blockchain's entire network into smaller partitions, known as 'shards'. Each shard is comprised of its own data, making it distinctive and independent when compared to other shards.

Sharding can help reduce the latency or slowness of a network since it splits a blockchain network into separate shards. However, there are some security concerns surrounding sharding in which shards can be attacked.

Understanding sharding

Blockchain networks and their respective are gaining in popularity due to the widespread application of the technology, which includes and financial transactions. As the popularity of blockchain grows, so too does the workload and transactional volume that is handled by the network. If we think of a blockchain as a shared database, as more and more data is added, the network needs to find new ways to be able to process all of that data efficiently and quickly, which is where sharding can help.

Distributed ledger

The of blockchain technology makes it attractive since it allows transactions to be consensually shared across multiple sites and geographies. As transactions are recorded, copies are sent to the shared network within seconds, creating public "witnesses". If one portion of the network falls victim to fraud or a malicious attack, the shared network's participants can identify what was changed by the fraudsters since they all maintain a copy of the ledger's transactions. As a result, blockchain technology and its distributed ledger system can help reduce fraud and limit the damage from .

Scalability

However, one of the major challenges with blockchain technology is that as additional computers are added to the network and more transactions are processed, the network can become bogged down, slowing the process — called 'latency'. Latency is a hurdle to blockchain being adopted for widespread use, particularly when compared to the current electronic payment systems that work quickly and efficiently. In other words, is a challenge for blockchain since the networks may not be able to handle the increased amounts of data and transaction flow as more and more industries adopt the technology.

One of the solutions being considered for creating latency-free scalability is the process of sharding. Sharding is designed to spread out the workload of a network into partitions, which may help reduce latency and allow more transactions to be processed by the blockchain.

How sharding is accomplished

Before exploring how sharding is accomplished within a blockchain network, it's important to review how data is currently stored and processed.

Blockchain nodes

Currently, in blockchain, each node in a network must process or handle all of the transaction volumes within the network. Nodes in a blockchain are independent and are responsible for maintaining and storing all of the data within a decentralized network. In other words, each node must store critical information, such as account balances and transaction history. Blockchain networks were established so that every node must process all of the operations, data and transactions on the network.

While it ensures a blockchain’s security by storing every transaction in all of the nodes, this model slows transaction processing considerably. Slow speeds for processing transactions do not bode well for a future in which blockchain becomes responsible for millions of transactions.

Sharding can help since it partitions or spreads out the transactional workload from a blockchain network so that every node doesn't need to handle or process all of the blockchain's workload. In a way, sharding compartmentalizes the workload into partitions or shards.

Horizontal partitioning

Sharding can be accomplished through the horizontal partitioning of databases through division into rows. Shards are conceptualized based on characteristics.

For example, one shard might be responsible for storing the state and transaction history for a specific type of address. Also, it might be possible to divide shards based on the type of digital asset stored in them. Transactions involving that digital asset might be made possible through a combination of shards.

Shard sharing

Each shard is still able to be shared amongst the other shards, which maintains a key aspect of blockchain technology — the decentralized ledger, enabling accessibility of ledger transactions to every user.

Sharding and security

One of the main issues in the practice that has arisen is security. Though each shard is separate and only processes its own data, there is a security concern regarding the corruption of the shards, where one shard takes over another shard, resulting in a loss of information or data.

If we think of each shard as its own blockchain network with its authenticated users and data, a hacker or through a cyber attack could take over a shard. The attacker could then introduce false transactions or a malicious program.

Protocols with sharding technology

Ethereum

Also, it's important to note that sharding is still in the early testing phase of being used for blockchain networks. As a result, all of the potential issues and challenges have yet to be worked out.

Near Protocol

One of blockchain’s biggest challenges has been scalability: how does a network grow to handle increased activity without compromising on security? Our solution to that question is Nightshade Sharding.

While there are many new blockchains claiming to have thousands of transactions per second (TPS) and many layer-2 scaling solutions, due to their non-sharded designs, they would all hit an upper limit of what the network could handle eventually.

NEAR’s Nightshade Sharding, on the other hand, allows NEAR Protocol to scale linearly with the number of shards, thereby having the ability to satisfy the demand for transactions as more and more users start to use NEAR. Ultimately it prepares NEAR for mass consumer adoption of billions of users.

Source

Consider a rental transaction in which multiple shards are involved. These shards correspond to different entities involved in the transaction, from customer names to configured into a smart lock that is made available to the renter upon rent payment.

, one of the most prominent blockchain companies, is on the front line of testing sharding as a possible solution to latency and scalability issues. Ethereum plans to roll out 64 new shard chains after what it calls 'The Merge', takes place, where the Ethereum Mainnet will "merge" with the Beacon Chain proof-of-stake system. Ethereum has combated the potential of a shard attack by randomly assigning nodes to certain shards and constantly reassigning them at random intervals. This random sampling would make it difficult for hackers to know when and where to corrupt a shard.

Another Protocol that is known for its attempt at sharding is Near Protocol. Since NEAR released the design for the , it was always meant to be a sharded blockchain. However, when preparing for the launch in early 2020, we realized that there was no need to launch a completely sharded network.

1) . By . Updated November 12, 2021. Reviewed by Fact checked by 2) Near.

💲
blockchain
cryptocurrencies
supply chain management
distributed ledger
cyberattacks
scalability
real estate
digital keys
Ethereum
protocol back in 2019
Investopedia
JAKE FRANKENFIELD
ERIKA RASURE
YARILET PEREZ
https://near.org/blog/near-launches-nightshade-sharding-paving-the-way-for-mass-adoption/
*For reader visualization purpose only