Close Menu
5gantennas.org5gantennas.org
  • Home
  • 5G
    • 5G Technology
  • 6G
  • AI
  • Data
    • Global 5G
  • Internet
  • WIFI
  • 5G Antennas
  • Legacy

Subscribe to Updates

Subscribe to our newsletter and never miss our latest news

Subscribe my Newsletter for New Posts & tips Let's stay updated!

What's Hot

4 Best Wi-Fi Mesh Networking Systems in 2024

September 6, 2024

India is on the brink of a new revolution in telecommunications and can lead the world with 6G: Jyotiraditya Scindia

August 29, 2024

Speaker Pelosi slams California AI bill headed to Governor Newsom as ‘ignorant’

August 29, 2024
Facebook X (Twitter) Instagram
Facebook X (Twitter) Instagram
5gantennas.org5gantennas.org
  • Home
  • 5G
    1. 5G Technology
    2. View All

    Deutsche Telekom to operate 12,500 5G antennas over 3.6 GHz band

    August 28, 2024

    URCA Releases Draft “Roadmap” for 5G Rollout in the Bahamas – Eye Witness News

    August 23, 2024

    Smart Launches Smart ZTE Blade A75 5G » YugaTech

    August 22, 2024

    5G Drone Integration Denmark – DRONELIFE

    August 21, 2024

    Hughes praises successful private 5G demo for U.S. Navy

    August 29, 2024

    GSA survey reveals 5G FWA has become “mainstream”

    August 29, 2024

    China Mobile expands 5G Advanced, Chunghwa Telecom enters Europe

    August 29, 2024

    Ateme and ORS Boost 5G Broadcast Capacity with “World’s First Trial of IP-Based Statmux over 5G Broadcast” | TV Tech

    August 29, 2024
  • 6G

    India is on the brink of a new revolution in telecommunications and can lead the world with 6G: Jyotiraditya Scindia

    August 29, 2024

    Vodafonewatch Weekly: Rural 4G, Industrial 5G, 6G Patents | Weekly Briefing

    August 29, 2024

    Southeast Asia steps up efforts to build 6G standards

    August 29, 2024

    Energy efficiency as an inherent attribute of 6G networks

    August 29, 2024

    Finnish working group launches push for 6G technology

    August 28, 2024
  • AI

    Speaker Pelosi slams California AI bill headed to Governor Newsom as ‘ignorant’

    August 29, 2024

    Why Honeywell is betting big on Gen AI

    August 29, 2024

    Ethically questionable or creative genius? How artists are engaging with AI in their work | Art and Design

    August 29, 2024

    “Elon Musk and Trump” arrested for burglary in disturbing AI video

    August 29, 2024

    Nvidia CFO says ‘enterprise AI wave’ has begun and Fortune 100 companies are leading the way

    August 29, 2024
  • Data
    1. Global 5G
    2. View All

    Global 5G Enterprise Market is expected to be valued at USD 34.4 Billion by 2032

    August 12, 2024

    Counterpoint predicts 5G will dominate the smartphone market in early 2024

    August 5, 2024

    Qualcomm’s new chipsets will power affordable 5G smartphones

    July 31, 2024

    Best Super Fast Download Companies — TradingView

    July 31, 2024

    Crypto Markets Rise on Strong US Economic Data

    August 29, 2024

    Microsoft approves construction of third section of Mount Pleasant data center campus

    August 29, 2024

    China has invested $6.1 billion in state-run data center projects over two years, with the “East Data, West Computing” initiative aimed at capitalizing on the country’s untapped land.

    August 29, 2024

    What is the size of the clinical data analysis solutions market?

    August 29, 2024
  • Internet

    NATO believes Russia poses a threat to Western internet and GPS services

    August 29, 2024

    Mpeppe grows fast, building traction among Internet computer owners

    August 29, 2024

    Internet Computer Whale Buys Mpeppe (MPEPE) at 340x ROI

    August 29, 2024

    Long-term internet computer investor adds PEPE rival to holdings

    August 29, 2024

    Biden-Harris Administration Approves Initial Internet for All Proposals in Mississippi and South Dakota

    August 29, 2024
  • WIFI

    4 Best Wi-Fi Mesh Networking Systems in 2024

    September 6, 2024

    Best WiFi deal: Save $200 on the Starlink Standard Kit AX

    August 29, 2024

    Sonos Roam 2 review | Good Housekeeping UK

    August 29, 2024

    Popular WiFi extender that eliminates dead zones in your home costs just $12

    August 29, 2024

    North American WiFi 6 Mesh Router Market Size, Share, Forecast, [2030] – அக்னி செய்திகள்

    August 29, 2024
  • 5G Antennas

    Nokia and Claro bring 5G to Argentina

    August 27, 2024

    Nokia expands FWA portfolio with new 5G devices – SatNews

    July 25, 2024

    Deutsche Telekom to operate 12,150 5G antennas over 3.6 GHz band

    July 24, 2024

    Vodafone and Ericsson develop a compact 5G antenna in Germany

    July 12, 2024

    Vodafone and Ericsson unveil new small antennas to power Germany’s 5G network

    July 11, 2024
  • Legacy
5gantennas.org5gantennas.org
Home»Data»How to Efficiently Process and Manage Blockchain Data | By Clayton | Clayton | February 2024
Data

How to Efficiently Process and Manage Blockchain Data | By Clayton | Clayton | February 2024

5gantennas.orgBy 5gantennas.orgFebruary 21, 2024No Comments6 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter LinkedIn Pinterest WhatsApp Email


Growing blockchain storage requirements

At the core of a blockchain is a ledger that records all transactions that occur on the network. This ledger is distributed across nodes that participate in consensus and transaction validation. As the blockchain processes more transactions over time, the ledger grows consistently.

For example, the Bitcoin blockchain adds blocks containing transaction data every 10 minutes. Each block is 1MB in size, so 144 blocks are added each day for a total of 144MB per day. At this rate, the Bitcoin ledger will grow by more than 50GB per year. With more complex data structures and smart contract capabilities, the Ethereum blockchain generates data even faster, at one block every 15 seconds with larger block sizes. This causes the size of the Ethereum ledger to grow rapidly, nearly doubling every year.

All this data needs to be stored by a full node that holds a full copy of the blockchain. By mid-2023, the Bitcoin ledger size will approach 500GB. In the case of Ethereum, it was already over 1TB. Storing such large amounts of data can be prohibitively expensive and technically challenging for individual node operators. As a result, it becomes more difficult to run a fully decentralized and independent node infrastructure.

StateDB’s role in blockchain storage

In many blockchain platforms, such as Ethereum and Klaytn, a key data structure called the State Database (StateDB) takes up a large amount of storage space. StateDB stores important information such as account balances, contract data, and blockchain state needed to validate transactions.

As transactions occur, StateDB is continually updated to reflect the latest state. This means frequent changes such as changes to account balances or revisions to contract data.

StateDB uses a Merkle Patricia Trie (MPT) structure to efficiently store state data. However, the drawback is that even small changes in data can dramatically change the entire MPT. Research shows that when one node is updated, more than 10 new nodes can be added to the MPT. This exponential growth characteristic causes StateDB to grow in size quickly. The large capacity required is difficult to manage for validators and miners running full nodes.

Why existing pruning methods have limitations

To accommodate StateDB’s ever-expanding storage needs, blockchain developers have been working on pruning techniques to securely remove old and unnecessary data.

Pruning methods such as StateDB offline pruning require node servers to be taken offline, data migrated to new infrastructure, and the blockchain resynchronized. This results in significant node downtime, ranging from hours to days, depending on the size of the blockchain. Such complex adjustments also limit the feasibility of frequent pruning operations.

The main limitation of pruning is that data structures like MPT use nested data that is shared between nodes.This means node A may refer to the same data as Node B.simply delete Node B In such cases, irrecoverable data loss or corruption may occur. node A. This challenge of managing multi-referenced data has traditionally hindered efficient online pruning.

Introducing Exthash to enable live pruning

To overcome the problem of multiple references, Klaytn developers introduced a modified hash function called Exthash. Exthash works by adding a 7-byte serial number to the regular 32-byte hash. This serial number acts as a unique identifier and prevents the same data from having the same hash.

Duplicate references can be eliminated by replacing regular hashes with Exthash throughout StateDB.if node A previously linked Node B Using the same hash, this link now contains a unique Exthash identifier.later, when Node B It will be removed during pruning, but node A References are unaffected because they use separate Exthash values.

To implement Exthash, the existing Merkle Patricia Trie structure has been improved to use the new extended hash. Each node represents a key-value pair, where the keys are object hashes and the values ​​store the actual data. You can avoid redundancy by changing hash generation to use Exthash instead of regular hashing.

The 7-byte nonce added by Exthash creates a unique hash even for identical data. For example, if two nodes contain “Balance: 100”, the Exthash values ​​will differ based on the nonce.now node A You can refer to it with confidence Node B without conflict. If B is later removed during pruning, A’s link will remain intact pointing to her separate Exthash.

Exthash enables secure deletion of shared data, so you can now prune StateDB live while the blockchain is fully operational. This eliminates the downtime and complex resynchronization challenges caused by traditional offline pruning methods.

Keep StateDB lean with live pruning

Klaytn implemented StateDB Live Pruning in version 1.11, allowing automatic deletion of old StateDB data. By default, only the last two days of StateDB data are retained and old information is periodically deleted.

This keeps the active StateDB size at an optimal size for I/O performance, typically in the 150 GB to 200 GB range. With significantly reduced storage requirements compared to full archives, full nodes can run smoothly without getting bogged down by data bloat. A smaller StateDB also has the benefit of caching, which speeds up various blockchain operations.

The introduction of Exthash adds some overhead associated with generating and storing 7-byte extensions. However, benchmarks revealed that the storage and cache improvements made possible by live pruning increased overall system efficiency by more than 20%.

In addition to storage space, StateDB Live Pruning also saves bandwidth for node operators. When you synchronize your nodes for the first time, the pruned StateDB from the past few days minimizes the amount of data that needs to be downloaded. This makes it easier for participants around the world to run nodes.

Ongoing analysis helps determine optimal pruning frequency and duration. Factors such as disk performance, network speed, and node type affect the ideal pruning configuration. Pruning parameters can be adjusted over time as the characteristics of the blockchain data evolve.

Continuous optimization for different node types

Live StateDB pruning provides the most value for consensus and validation-only nodes that require fast access to the latest state data. Maintaining historical data primarily for analytical purposes may not provide any benefit to such nodes.

Future work will include efficiently separating recent hot data and older cold data across different storage systems. For example, a cheaper, slower hard disk can store historical data for analysis, while a faster SSD processes the most recent information for time-sensitive processing.

Further optimizations are also being considered, such as extracting transaction data from recent blocks. Transactions can be moved to separate storage while only state changes remain in the hot StateDB. Now that Live Pruning has proven effective, Klaytn developers can focus on further enhancements for different node types.

conclusion

Blockchain data grows exponentially over time, so efficient storage and pruning is essential for nodes to run smoothly. By using Exthash to intelligently eliminate redundant shared data references, Klaytn enables continuous live StateDB pruning. This keeps nodes lightweight as they only keep the latest blockchain data needed for validation.

Ongoing research further improves pruning by separating data across hot and cold storage based on utility. Innovative solutions like Live Pruning allow blockchains to sustainably scale despite the huge amount of data they generate.



Source link

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous Article5G technology and its role in connecting digital.
Next Article Mavenir and Qualcomm accelerate 5G high-density open vRAN deployment
5gantennas.org
  • Website

Related Posts

Crypto Markets Rise on Strong US Economic Data

August 29, 2024

Microsoft approves construction of third section of Mount Pleasant data center campus

August 29, 2024

China has invested $6.1 billion in state-run data center projects over two years, with the “East Data, West Computing” initiative aimed at capitalizing on the country’s untapped land.

August 29, 2024
Leave A Reply Cancel Reply

You must be logged in to post a comment.

Latest Posts

4 Best Wi-Fi Mesh Networking Systems in 2024

September 6, 2024

India is on the brink of a new revolution in telecommunications and can lead the world with 6G: Jyotiraditya Scindia

August 29, 2024

Speaker Pelosi slams California AI bill headed to Governor Newsom as ‘ignorant’

August 29, 2024

Crypto Markets Rise on Strong US Economic Data

August 29, 2024
Don't Miss

Groundbreaking technology amplifies terahertz waves for 6G communications

By 5gantennas.orgDecember 22, 2023

This article has been reviewed in accordance with Science X’s editorial processes and policies. The…

DoT calls for research proposals on 6G ecosystem development: Telecom Secy, ET Telecom

January 30, 2024

The path from 5G to 6G: IDTechEx Webinar

October 10, 2023

Subscribe to Updates

Subscribe to our newsletter and never miss our latest news

Subscribe my Newsletter for New Posts & tips Let's stay updated!

About Us
About Us

Welcome to 5GAntennas.org, your reliable source for comprehensive information on 5G technology, artificial intelligence (AI), and data-related advancements. We are passionate about staying at the forefront of these cutting-edge fields and bringing you the latest insights, trends, and developments.

Facebook X (Twitter) Pinterest YouTube WhatsApp
Our Picks

4 Best Wi-Fi Mesh Networking Systems in 2024

September 6, 2024

India is on the brink of a new revolution in telecommunications and can lead the world with 6G: Jyotiraditya Scindia

August 29, 2024

Speaker Pelosi slams California AI bill headed to Governor Newsom as ‘ignorant’

August 29, 2024
Most Popular

Deutsche Telekom to launch 5G SA for private customers in 2024

December 15, 2023

5G Core ASN.1 Vulnerability

October 20, 2023

Development of new services drives 5G growth

June 29, 2023
© 2025 5gantennas. Designed by 5gantennas.
  • Home
  • About us
  • Contact us
  • DMCA
  • Privacy Policy
  • About Creator

Type above and press Enter to search. Press Esc to cancel.