Decentralized Storage Networks: A Guide
A decentralized storage network is a network of storage nodes that can be utilized to store data. Check the best decentralized storage networks...
A decentralized storage network is a network of storage nodes that can be utilized to store data. Check the best decentralized storage networks...
Getting your Trinity Audio player ready...
|
Open source and decentralization are the core ethos of Web 3.0. Chris Dixon explains why decentralization matters in this medium blog. Decentralized file storage is critical for the success of Web 3.0 so users and creators can take control of the internet once and for all. While blockchains are built for decentralized storage, they are not designed to store large file sizes. They are meant for handling transaction data, smart contracts, and the source code.
To put it in perspective, both Bitcoin and Ethereum ledger are less than 1 TB each whereas, in 2020, the internet stored 40 billion TB of data as per some estimates. Most value creation or value transfer on the internet in the future will involve some content or a file that needs a decentralized, permanent storage solution. The good news is that there are a number of solutions/projects that are working while keeping decentralized permanent storage in mind.
Before learning about the best decentralized storage networks, let’s find out what a decentralized storage network is in the first place, shall we? When it comes to the storage of data, these are our usual options:
This is where decentralized storage networks come into play as a solution. This way, any data is stored on a network spread among multiple users across the globe. These users are incentivized to join and operate the network so as to keep it decentralized, and also to ensure the data is accessible at all times. The servers used are thus hosted by a group of people instead of a single authoritative body.
Anyone can join a decentralized network based on a blockchain. Smart contracts ensure the users’ integrity and authenticity, and they are incentivized with native tokens to run the network. Said tokens come with a range of benefits, namely governance rights.
Why should you choose a decentralized storage network over centralized storage?
Blog Highlights
1. Decentralized storage networks store data on a distributed network of computers around the world, instead of relying on a single company. This offers several advantages over centralized storage:
2.Increased security: Data breaches are harder due to the lack of a single point of failure. Censorship resistance: Data is difficult to censor because there's no central authority.
3. User control: You own your data and control who can access it.
4. Here are some popular decentralized storage networks:
IPFS: A distributed file system for storing and sharing data.
Filecoin: An incentive layer on top of IPFS that lets users rent out storage space.
Arweave: Designed for permanent data storage with a one-time storage fee.
Siacoin: Allows users to rent out unused hard drive space to others.
Storj: Uses erasure coding to split data and store it across multiple nodes.
For ages, humans have been attempting to figure out the best way to keep track of records and vital information. The ability to store and retrieve data is essential in our everyday lives, both at work and at home. Here’s a brief and somewhat chronological look at storage devices from the early computer era:
👉Want to get an in-depth understanding about decentralized exchanges? Read our guide on Decentralized Exchanges.
The InterPlanetary File System was invented by Juan Bennet at Protocol Labs. IPFS is used in a distributed file system to store and share data. It is similar to torrent, but for the web – the files are not hosted in a single location, but rather by anyone who has a copy and wants to host it.
Concept
Data Sharing in IPFS
Persistence
IPFS runs a process called ‘Garbage collection’ for optimizing memory usage by deleting objects which are not used frequently. A local ‘Pin’ may be added to ensure that the data is saved locally. For higher data size and safety, ‘Pinning services’ may be used. Pinning services ensure that the data is saved in multiple nodes for a fee.
Permanence
IPFS does not guarantee long-term storage. However, IPFS can be integrated with multiple tools such as Filecoin to ensure permanence. These integrations need a minimum file size, involve cost, and may take higher retrieval times.
Immutability
Content addressing using Content Identifiers (CID) ensures the immutability of content. Any change in content will generate a new content identifier which ensures immutability. Integrity for web 3.0 use cases such as NFT is ensured by linking on-chain ‘metadata’ which includes the IPFS URL created using the CID of the content stored on IPFS.
Consensus
The default layer of IPFS does not have a consensus mechanism. However, layers built on IPFS such as IPFS cluster and Filecoin have their own consensus mechanisms.
IPFS cluster offers CRDT (Conflict-free Replicated Data Type) and raft consensus mechanisms. CRDT is used for a liquid peer network where the peers frequently enter and exit, and not all peers have modification permissions. This also supports batching operations for pinning/unpinning operations. Raft consensus is an older but proven mechanism used when the peer network is fully trusted. Filecoin uses its own consensus mechanism called ‘Proof of storage’.
Cost of Storage
IPFS is free to use. However, uploading files on IPFS does not ensure permanence as the data is stored only on your computer. In order to ensure that the data is replicated in multiple places, pinning services and permanence tools are needed which incurs a fee.
Unique features
BitTorrent is a decentralized file-sharing protocol created by developer Brad Cohen in 2001. In 2018, Tron Foundation acquired the BitTorrent Foundation and launched the BTT token in 2019.
Instead of downloading or uploading files to a single server, users join a network of computers running software that allows them to exchange files and data with one another. ​​BTT token powers decentralized applications including DLive, BitTorrent Speed, BitTorrent File System, and many others.
Data sharing in BitTorrent
Persistence
Proof of storage contract – BTFS uses multiple smart contracts between the renters (file owners) and hosts (storage providers) to ensure that the files are stored. The hosts provide periodic proof of storage, failing which, they are subject to fines.
Permanence
Data never gets stored on BitTorrent servers. Once a user downloads the BitTorrent client, he can manage a piece of data for a lifetime. Sync users are able to use Sync even if the program goes offline.
Tokenomics
The total and maximum token supply of BTT tokens is 990,000,000,000 while the current circulating supply is 923,767.70B BTT
Immutability
CID – Content identifiers
Consensus
Staking contracts- Hosts stake BitTorrent Token (BTT) based on which files uploaded will be sent to them for storage.
Cost of storage
$.00675 USD/GB/month
Unique features
BTFS is a fork of IPFS. It has additional features such as token economics with BitTorrent Token (BTT) integration, file encryption, file removal for hosts
Arweave was originally named Archain. It is a decentralized storage network founded by Sam Williams and William Jones. The goal of Arweave is to permanently store files over a distributed network of computers.
Arweave protocol works on two layers:
Data sharing in Arweave
Persistence
Arweave uses token economics for persistence with AR tokens. A storage endowment ensures that mining of Arweave remains profitable and sustainable by maintaining higher rewards than expenditure to maintain the data. Miner rewards consist of a % of Transaction fees (sum of all transaction fees in a block), Inflation reward (a gradually decreasing function of block height) and an endowment reward (paid out if the other two components are lower than expenditure). A % of transaction fees are directed to the endowment wallet.
Permanence
Arweave is designed for ‘data permanence’ while recognizing that a new, better permanent data storage mechanism may emerge into which Arweave’s data may be subsumed.
Immutability
The blockweave data structure in which miners are incentivized to store blocks ensures immutability. Also unlike traditional storage which requires a fixed number of replications, block weave uses a probabilistic approach in order to ensure the right number of replications with higher incentives to store rare data.
Consensus
Proof of Access: A node with access to a randomly selected ‘recall’ block wins the block and validators validate this proof. PoA is an enhancement of Proof of Work and incentivizes miners to store blocks and win rewards.
Cost of storage
Approx $8 one-time lifetime storage cost/GB. No monthly subscription
Unique features
Pay only once for permanent storage
Blockweave: Each block is linked to 2 prior blocks: the previous block and a random block from the previous history of the blockchain, a recall block.
Proof of access: Miners are incentivized to store rare blocks thereby following a probabilistic and incentive-driven approach to replicate data in the network.
Memoization of state: New nodes need not download all the previous blocks. New users can only download the current blocks from trusted peers or use block data structures-Block Hash List and Wallet List and verify/request old blocks. These lists are synchronized and kept up to date by the miners. Each node can prioritize their storage as per their preferences or resources and the network will still be able to guarantee storage and replication.
​​Filecoin is a decentralized storage network in which anybody can rent storage space. Instead of entrusting your documents to one company, they can be split up and stored on computers all over the world. It is an incentive layer built on top of IPFS that incentivizes users to rent out their storage space by paying them in FIL tokens.
Data sharing in Filecoin
Persistence
Filecoin uses ‘Proof of replication’ to verify that a node has stored data and ‘Proof of space time’ to ensure that data is saved over a range of time.
Permanence
Filecoin uses FIL tokens and multiple mechanisms associated with the tokens to incentivize long-term storage.
Immutability
Filecoin is built on IPFS. It uses CIDs for addressing content which ensures immutability- any change in content will result in a new CID.
Consensus
Filecoin uses a ‘Useful work’ consensus protocol wherein the probability of a miner being allocated is proportional to the storage assigned by the miner.
Cost of storage
Some storage providers such as web3.storage offer storage on Filecoin for free. This is because miners’ rewards are higher if they are already storing data. The average cost as per file.app is $ .0000009 USD/GB/Month.
Unique features
Siacoin (SC) is the native token of the Sia network. It allows any computer to rent out unused hard drive space to users looking to store files. Sia has designed software that is capable of creating a peer-to-peer storage (P2P) network that allows anyone to be part of that network.
Its platform has the ability to use smart contracts. They serve as an agreement between the customer and the storage service provider. Being decentralized storage, it has no single point of failure.
Data sharing in Sia
Storj decentralized cloud storage is an open-source decentralized network for storing data. It aims to solve for high durability with minimum expansion. It does not follow the typical approach of replicating files in multiple nodes and instead fragments files into multiple nodes, thereby maintaining high durability (probability of surviving outage) with low expansion (additional storage required).
Storage nodes and applications: enables anyone with spare disk space and internet to join the network.
Uplink clients, developer tools: Mechanism to upload and download data.
Satellite nodes: In the absence of a consensus mechanism, trusted nodes manage the metadata, node information, data repair and payouts.
Data sharing in Storj
Persistence
Uses erasure code to ensure that data persists without increasing the network traffic. Data is broken into fragments, encoded, and saved in multiple nodes. This requires a much lesser expansion factor, i.e. additional storage as compared to replication for the same durability or probability of recovering the data in case of an outage. The math behind it is here.
Permanence
An audit is run to detect the performance of a system. Failed audits will result in the file being recovered from the remaining nodes, and missing pieces being reconstructed and saved in other nodes.
Immutability
Metadata entries – any modification will require metadata entries to be modified.
Consensus
No mechanism currently relies on satellite operators for consensus. Plans to build a mechanism in the future.
Cost of storage
0.004$/GB/Month
Unique features
Centralized Storage | Decentralized Storage |
Single storage provider | No dependency on a single platform |
Subject to censorship | Censorship resistant |
Pricing decided by a centralized authority in an organization | Pricing decided by free market + democratic protocols |
Limited redundancy | High redundancy |
Relatively expensive | Typically cheaper than centralized solutions |
Profits are largely accumulated at the top and tricked down | Funds generated via fees are used to incentivize storage providers directly and to develop the decentralized ecosystem |
Network information and source codes not publicly shared | Network information and source codes are open sources with incentives for developers to contribute to the network |
What is A DDoS Attack | Cross Chain Bridge | Best Crypto Faucets | Smart Contracts | Blockchain Node | Blockchain vs Cryptocurrency | Proof Of Stake | Cores vs Threads | Hard Fork vs Soft Fork | What is a DAO | Gui vs Cli | Bitcoin Layer 2 | What is Foundry | Public Key vs Private Key | Defi Wallet
Disclaimers : Opinions expressed in this publication are those of the author(s). They do not necessarily purport to reflect the opinions or views of Shardeum foundation.
About the Author(s) :
Harsha Karanth has been in the energy and e-commerce industries before he came across web 3.0. He is enthusiastic about building impact projects on web 3, particularly in the sectors of environment, animal care and education. You can follow him on Twitter
Shuwam Rana is a Technical Analyst, Digital marketer and SEO expert with a passion to help businesses grow. He also has an engineering background. You can follow him on Twitter