Swarm-The latest research report on distributed storage projects (must be collected)

Swarm-The latest research report on distributed storage projects (must be collected)

1. Why do we need distributed storage?

At present, the simplicity and low maintenance of cloud storage have led to the large-scale migration of data to centralized servers. A few Internet giants (such as Amazon, Microsoft, IBM, Google, etc.) control the complete data of massive users, but people have no control over their own data.

Technology platforms obtain users’ personal data by providing free services, and then use the data to conduct commercial activities. This model will inevitably lead to platform companies’ endless demands for user data, which we can call “surveillance capitalism.”

While competition between companies ensures that users have many service providers to choose from, the nature of the services themselves often raises concerns about the potential for censorship or misuse of private data. The shift toward cloud storage also creates more opportunities for data theft.

“Personal data today is like watching people swimming naked in an aquarium.” — Vera Jourova, EU Justice Commissioner

The issues of data privacy and data ownership have also greatly affected the development of the smart industry that relies on data. How to find a balance between protecting privacy and integrating data, how to define data ownership, usage rights, and management rights, and how to meet regulatory requirements, etc., these issues are the ultimate questions for our era and are also issues that need to be solved urgently.

Faced with such a daunting challenge, although we have not yet seen a particularly suitable solution, blockchain is the best tool known to solve the above problems, and it may also be the only tool at present. And Swarm, a distributed storage project based on Ethereum, can be said to be the best among them.

2. What is SWARM?

Swarm is an official part of the Ethereum project, developed primarily by the Foundation, allowing pooled storage, bandwidth, and computing resources to support applications based on the Ethereum network. The team is trying to create a peer-to-peer storage and service solution that is non-stop, zero-failure, and censorship-resistant. Creating an economically incentivized system within Swarm will facilitate the payment and transfer of resource exchange value, using different protocols and technologies in the Ethereum blockchain.

Swarm is a decentralized content storage and distribution service. You can think of it as a CDN, distributed across computers over the Internet. You can run a Swarm node and connect to the Swarm network just like you run an Ethereum node. This is similar to BitTorrent, and can also be compared to IPFS, using ETH as a reward incentive. Files are broken down into blocks, distributed and stored by participating volunteers. Nodes that store and serve blocks receive ETH as compensation from nodes that need to store and retrieve data services.

Token Information

BZZ Toke is Swarm’s utility token and is also used for bandwidth and storage rewards.

Initiator: Ethereum Foundation

Founder: Vitalik Buterin

Total issuance: 62.5 million

The official plan is to launch the mainnet in the second quarter of 2021 (around June).

3. What functions does SWARM achieve?

As Web 2.0 took over the world, the Peer-to-peer (P2P) revolution was also gathering pace, quietly developing in parallel. In fact, P2P has already taken over a large number of data packets. It is no wonder that all users can finally use the hitherto underutilized upstream bandwidth together, thus providing the same availability and throughput for content that was previously only possible with the help of large companies and their data centers. This can be achieved at a fraction of the cost by relying on the widest bandwidth in the Internet backbone. More importantly, users retain more control and freedom over their data. Ultimately, this method of data distribution has proved to be remarkably resilient even in the face of violent attempts by powerful and well-funded entities to shut it down.

However, even the most advanced P2P file-sharing model, tracker-free BitTor rent, is only file-level sharing.

This is simply not suitable for providing the kind of interactive, responsive experience that people expect from web applications on Web 2.0. In addition, while BitTorrent became very popular, it was not developed with economics or game theory in mind.

The genius of BitTorrent is its clever resource optimization that solves the toughest, most entrenched problems in the ancient, centralized, master-slave design of the Hypertext Transfer Protocol (HTTP), the foundation of the World Wide Web. It discourages cheating by using hierarchical segment hashing, but this beautifully simple approach has five corresponding drawbacks, such as:

* Lack of financial incentives – there is no built-in incentive to seed downloaded content

* Initial delay - Typically, the download starts slowly and has some delay

* Specificity severely limits the use of BitTorrent in interactive applications that require fast response and high bandwidth.

* Lack of fine-grained content addressing - small chunks of data can only be shared as part of the larger file they contain.

* No privacy or ambiguity - attackers can easily find sites hosting content they wish to remove

Swarm - IP addresses of peers from the Ethereum Foundation official... and then use DDOS attacks as attackers.

* No incentive to continue sharing - once a node reaches its goal (i.e. retrieves all required files from peers), it will not be rewarded for its shared work (storage and bandwidth). However, with the addition of blockchain technology, we will finally usher in the true Web3.0: a decentralized, censorship-resistant device for sharing and collectively creating content while maintaining full control over it. Moreover, using and sharing the powerful power that underutilized computers already have can completely solve the above problems. The purpose of the Swarm project is to build a permissionless storage and communication infrastructure for the future self-sovereign digital society.

The main goal of Swarm is to provide a fully decentralized and redundant storage of Ethereum's public records, especially to store and distribute DApp code and data and blockchain data. From an economic perspective, it allows participants to effectively pool their storage capacity and bandwidth resources to provide these services to all participants in the network while receiving incentives from Ethereum.

4. SWARM’s Reward Mechanism and Node Construction

The storage space of Swarm is limited by the sum of the storage contributions of all individual nodes to the network. The stamp system allocates the right to write to Swarm in the best way by adding costs to the upload of fees to the Swarm network. Using this signal, storage nodes can decide what to keep and what to ignore, allocating storage space in a way that preserves those blocks that are most valuable.

Using money paid through a postage system, the project compensates nodes that can prove they are storing data. One could imagine a lottery type system to provide this functionality. In a storage lottery, storing a large block is like buying a lottery ticket. So by storing more blocks, a node can increase its chances of winning!

It is still in the early stages of the Swarm network, and as the Swarm network grows, the number of nodes is also growing. Once the Bee client is up and running, users will begin to connect with peers around the world and become part of Swarm, a global P2P network responsible for storing and distributing all data in the world.

Users who want to receive incentives and BZZ (Swarm token) airdrops, especially if you have been on Swarm since day one and have a data-rich and well-connected node, can install a Bee node as soon as possible.

V. Project Team and Background

The Swarm core team has 32 employees and has established the Swarm Association in Switzerland. In addition to the financial support from the Ethereum Fund, they have also reached a cooperation with Bitcoin Suisse to obtain sufficient funds and have their own funding sources. In the past year, the project has reorganized the team several times and now finally has 8 well-organized sub-teams: Leet Squad, Bee Team, Bee-JS Team, Comms, HR, DevOps, Ops and Knowledge Management.

The concept and first expression of Swarm as one of the three pillars to achieve a decentralized network appeared before the launch of Ethereum in early 2015. Promoted by Ethereum founders Vitalik Buterin, Gavin Wood, and Jeffrey Wilcke, Swarm's protocol tags bzz and shh were both coined by Vitalik.

Swarm’s scope and data integrity in 3 dimensions

From a developer's perspective, Swarm is best viewed as a public infrastructure that powers the real-time, interactive web applications familiar from the Web 2.0 era. It provides a low-level API for primitives that are the building blocks of complex applications, and provides the foundation for tools and libraries for the Web 3.0 development stack built on Swarm. The API and tools are designed to allow access to the Swarm network from any traditional web browser, so Swarm can immediately provide a private and decentralized alternative to today's World Wide Web (WWW).

Considering the design and architecture of Swarm’s system, we can think of Swarm as having clearly separable layers, with each layer depending on the previous layer (see the diagram above):

  • Peer-to-peer network protocol, used as underlying transport,
  • An overlay network with a protocol that provides support for distributed immutable storage of blocks (fixed-size chunks of data),
  • Components that provide high-level data access and define APIs for base-level functionality,
  • Define standard application tiers and outline best practices for more granular use cases.

From an end-user perspective, Swarm is not much different from the World Wide Web, except that uploaded resources are not hosted on a specific server, which makes users use Swarm in the same way as usual. Swarm provides a peer-to-peer storage and service solution that is DDos-resistant, zero-downtime, fault-tolerant, censorship-resistant, and self-sustaining, with a built-in incentive system that allows users to pay for traded resources through peer-to-peer accounting. Swarm aims to be deeply integrated with Ethereum's DevP2P multi-protocol network layer and the Ethereum blockchain for domain name resolution (using ENS), service payments, and content availability guarantees. In order to resolve ENS domain names, Swarm nodes must be connected to the Ethereum blockchain (mainnet or testnet).

VI. Project Development Progress

In many ways, the project has matured, with Swarm 1.0 expected to be released in the second quarter of this year.

In 2020, the project team created a new Swarm network that exists in parallel with the "old" Swarm network. In addition, four Bee versions have been released, and Bee nodes have become more stable and modular, preparing for the launch of the Swarm 1.0 mainnet and beyond:

Project Development Roadmap

Swarm’s development progress is fully consistent with the Roadmap, all advanced features have been implemented and released, and Swarm 1.0 is expected to be officially released in the second quarter of 2021.

7. Competitive product analysis

In the field of distributed storage, in addition to Swarm, there are many projects actively promoting decentralized storage and the arrival of Web 3.0. To completely surpass the world of Web 2.0, there is still a problem that needs to be overcome: storing data on the blockchain is very expensive for very small amounts of things.

Both Bitcoin and Ethereum adopted the BitTorrent layout and ran with it, supplementing the architecture with transaction capabilities, but later did not consider storing non-system data. Among other projects, ZeroNet has successfully implemented a simple BitTorrent data distribution method for web content distribution. However, due to the above-mentioned BitTorrent issues, ZeroNet ultimately failed to support the responsiveness expected by web service users.

In an attempt to enable responsive, distributed web applications (or dapps), the InterPlanetary File System (IPFS) has made its own significant improvements to BitTorrent. One standout feature is a highly compatible URL-based retrieval scheme for the web. In addition, the cataloging, indexing of available data (like BitTorrent organized as a DHT) has been greatly improved, making it possible to also search for small portions of any file. There are many other projects that are also actively exploring and providing valuable Web3.0 alternatives to the swarms of servers and services that Web2.0 developers have come to expect, providing a path to break away from the existing reliance on centralized architectures to enable data harvesters. These roles are not trivial, and even the simplest web applications today contain a very large number of concepts and paradigms that must be remapped into the trustless setting of Web3.0. It turns out that in many ways, the problem may even be more nuanced than implementing trustless computation in a blockchain. Swarm responds to this with a series of carefully designed data structures that allow application developers to recreate the concepts we have become accustomed to in Web2.0 in the new setting of Web3.0. Swarm successfully reimagines current web products and reimplements them on a solid cryptoeconomic foundation.

The most popular distributed storage project at present may be IPFS. Compared with Swarm, IPFS has a certain first-mover advantage in publicity and mainnet launch to a certain extent. Next, we hope to analyze the two projects, Swarm and IPFS, through a more comprehensive comparison.

Similarities between Swarm and IPFS:

Both Swarm and IPFS provide comprehensive solutions for the efficient decentralized storage layer of the next generation of the Internet. The high-level goals and technologies are very similar. Both Swarm and IPFS systems aspire to provide:

  • A general decentralized distributed storage solution.
  • Content Delivery Agreement.

They all do this by creating a network of cooperating nodes, each running a client that conforms to a strictly defined communication protocol for storing and retrieving arbitrary content. Leveraging the surplus storage and bandwidth of individual participants, the network nodes collectively provide a serverless hosting platform.

Similarities between the two projects:

  • Both IPFS and Swarm are completely open source, aspire to provide a layer of (monetary) incentives for participating nodes, encourage healthy operations and/or insurance/reinsurance :), and provide users with compensation for using their resources.

  • Use some kind of block storage mode where larger documents can be shredded and those files can be ingested in parallel.

  • Integrity protection is provided through content addressing (also applies to encrypted partial content).

  • Both projects provide URL schemes and decentralized domain name resolution.

  • Transparently and efficiently maps file system directories to sets of storage objects.

Therefore, both are in principle very suitable for replacing the data layer of the current broken Internet, and as the storage layer of the web3 vision (along with other similar attempts, especially zeronet, Maidsafe, i2p, storj, etc.), must have the characteristics of the usual distributed document storage, such as:

  • Low latency retrieval.

  • Efficient autoscaling (content caching).

  • Reliable, fault-tolerant operation that is resistant to node disconnection and intermittent availability of redundant storage.

  • Zero downtime.

  • Reviewability.

  • A potentially permanently versioned archive of content.

How are Swarm and IPFS different?

Swarm provides content distribution services for Ethereum and DApps, with the following features:
➢ Swarm is a decentralized storage platform that provides native base layer services for the Ethereum web3 stack.
➢ Swarm aims to replace the Ethereum on-chain storage solution and become a decentralized storage platform for Ethereum public records.
➢ Swarm can help DApp store and distribute code, data and content without interfering with information on the blockchain.
Suppose we are developing a blockchain-based medical record system: tracking the date when medical records were added, the content of medical records, and who viewed the records for what purpose, then we need to maintain all the above immutable transaction records in the blockchain. However, medical records themselves (including doctor's notes, medical diagnoses, and images) are not suitable for storage in the Ethereum blockchain. Swarm or IPFS are more suitable for such use cases.
DApp can create, manage and store data and content directly in decentralized file systems (such as IPFS and Swarm), and use Swarm hashes to access and retrieve data and content. When DApp submits a transaction to the Ethereum network, the transaction can reference Swarm resources with the help of Swarm hashes.
Swarm maintains a specific type of content-addressed distributed hash table (DHT) on decentralized nodes. Files or content uploaded to the Swarm network will be split into different blocks as blob objects. Merkle trees are then created using these blocks to ensure the integrity of the content. Trunks will be further distributed to participating nodes and stored in the DHT. When an access request is made, the content is provided by the node closest to the block address.
Swarm provides multiple APIs for accessing and managing content, including CLI (command line interface) and JSON-RPC API. We can get JavaScript packages through erebos, swarm-js or swarmgw packages, which can be used for most UI/JavaScript-based DApps.
IPFS is very similar to Swarm, a peer-to-peer distributed file system that stores and shares content on a decentralized network. Both IPFS and Swarm can provide decentralized data and content storage, as well as addressable hashes generated directly from the content; both can store various contents in blockchain transactions.
But there are many technical differences between the two - they use different ways to slice up large data sets and store the chunks in a distributed network. We can think of IPFS as a BitTorrent swarm that exchanges objects in a Git repository; Swarm is more closely integrated with the Ethereum blockchain and has an incentive system that promotes content sharing. But in fact, IPFS can also use Filecoin to provide a similar incentive system.
Similarly, the DApp application architecture in Swarm is also applicable to IPFS. IPFS also provides multiple APIs for accessing and managing content, including CLI interface, JSON-RPC API, and HTTP interface. JavaScript packages and Go libraries are also available and can be used for most UI/JavaScript or Go-based DApps.

About Incentives

Filecoin is a sister project of IPFS that adds an incentive layer to IPFS and relies on its own altchain. Proof-of-Retrievability "mining" on the Filecoin blockchain is a scheme that provides ongoing compensation to storers for saving content. Random audits as part of the Proof-of-Work task are responded to by proofs of retrievability, and the winning miners are compensated accordingly. This system has inherent limitations: IP funds can only implement positive incentives and rely on collective responsibility.

Swarm leverages the power of smart contracts to process deposit payments for registered nodes. This allows for mandatory measures to be taken as a deterrent. Swarm provides a solution for tracking accountability, making storers solely responsible for specific content.

IPFS does not guarantee storage, while Swarm enforces content-agnostic behavior and provides content-specific security levels that are flexibly adjustable by users.

Swarm will implement efficient automated collective auditing of rarely accessed off-chain content, and conduct final litigation on the blockchain as part of content insurance (a key feature). Using a pairwise accounting protocol and delayed small off-chain payments, Swarm provides substantial transaction cost savings while maintaining security. IPFS+filecoin's reliance on competitive proof-of-custody mining means overuse of the blockchain and redundant use of resources inherent to normal operation.

Since pairwise accounting, deferred payments, and collective auditing are all off-chain, Swarm’s reliance on the blockchain is greatly reduced, limited to registration and final litigation.

Finally, Swarm's concept of "Manifests" (generic routing tables/key-value indexes with integrity protection) allows

  • Modeling a hierarchical file system on the cloud
  • Serverless servers with routing tables and metadata principle system (content type, encryption and security information, etc.)
  • Implement arbitrary DHTs inside Swarm, so it can support "sidechains" or the db component of traditional webapps (like mysql in a LAMP stack, etc.)

In general, Swarm and IPFS are both very high-quality projects, providing comprehensive solutions for the efficient decentralized storage layer of the next generation of the Internet to solve many problems in today's Internet and data distribution and storage.

8. Token Economic Model

BZZ Token (The following Token model is compiled based on previous information and may be updated and adjusted. Please refer to the official announcement of Swarm):

BZZ Toke is Swarm’s utility token and is also used for bandwidth and storage rewards.

BZZ initial supply: 62.5M, minimum starting price (public offering expected before mainnet launch): 0.32DAI, liquidity provided by Curve platform.

Token Allocation:

  • Fundraising: 50%

  • Team: 20%

  • Foundation: 7%

  • Infrastructure Grants: 10%

  • DApp Grants: 10%

  • Donations: 3%

IX. Project Financing

As an official part of the Ethereum project, Swarm has long been funded by the Ethereum Foundation (starting in 2015 and undergoing more than five years of intensive research). In addition, to ensure the smooth completion of Mainnet, Swarm has partnered with Bitcoin Suisse and completed a $6 million private placement with its help. It has sufficient funds to further expand the team and ensure that Swarm10 can be executed on time and released in the second quarter of this year.

Bitcoin Suisse, founded in 2013, is a pioneer and market leader in Swiss crypto finance and technology. Bitcoin Suisse has helped shape the cryptocurrency and blockchain ecosystem in Switzerland and has been a driving force in the development of "Crypto Valley" and "Crypto Nation Switzerland". As a regulated Swiss financial intermediary and licensed by Swiss and Liechtenstein Bank,

BitcoinSuisse provides prime brokerage, trading, custody, lending, staking and other crypto financial services to private and institutional clients. BitcoinSuisse has built a team of more than 200 experts in its Zug, Copenhagen-based office.

Currently, Swarm has obtained ALPHEMY

CAPITAL、bitscale capital、DFG、KR1、

Currently, Swarm has obtained ALPHEMY

Investments from many well-known institutions including CAPITAL, bitscale capital, DFG, KR1, HASHKEY, NGC Venture, Lede Capital, P2P CAPITAL, Waterdrip Capital, White Paper Capital and YBB Foundation LTD.

Appendix: Swarm Monthly Development Progress Update - (April 2021) Chinese version

April was a busy/hard month for the Swarm team. A lot happened. We are proud to share our progress.
The team is working on Swarm v0.6.0. Some of you had a chance to see it in a public presentation by Rinke Hendriksen.
The JS team released the Bee Dashboard, which will make installing and operating a node easier.
The Fair Data Association organized two days of great events covering topics related to the fair data economy and providing explainer videos for the web3 community.
You can read the monthly development progress reports in more detail below.

Bee Tracking Progress

The following features are supported:

1. Postage stamps

2. Light nodes

3. File/manifest redefinition

4. Pinning CRUD API

The community held a meeting for the demonstration.

Beginning to collaborate more broadly with the Discord community to test bee's 0.6.0 testing version (unofficial release) (#bee-testing-0-6-0).

Implemented various features to improve the stability of the network.

DevOps Tracking

A new version of the Bee Helm chart (v0.9.0) was released.
A new version of the Beekeeper Helm chart (v0.2.5) was released.
A new version of the Geth Swap Helm chart (v0.1.12) was released.
A new version of Beekeeper (v0.6.4) was released which has improved integration tests.
The bee-staging and bee-local libraries have been updated to support the latest improvements in Bee and Beekeeper.

JS Tracking

A new version of Bee-js Javascript client library (v0.8.1) has been released. Summary of releases since the last update:

1.) Added missing Bee API endpoints

2.) Improved signer interface and Ethereum wallet support

3.) Easier handling of binary and JSON data

4.) BigInt supports money-related APIs

Released version 0.1.0 of Bee Dashboard (formerly Bee Status UI). You can read more about it in our Medium post

information.

Research Direction

A method combining time-based settlement with monetary settlement was established.

A breakthrough in simplifying secure stamping (i.e. earning active storage rewards through a mining algorithm) will lead to the implementation of Sybil-resistant node addressing after version 1.0.

The future is unknown, and humanity will still face many challenges. In today's digital society, it is certain that to become sovereign and control our destiny, both nations and individuals must retain access to and control over their data and communications. Swarm's vision and goals come from the decentralized technology community and its values, as Swarm may become ubiquitous in future society.

<<:  Predictions and explanations

>>:  First principles analysis of Swarm's economic incentives

Recommend

Do men read their palms on their left hand?

How to read palmistry? According to palmistry, men...

How to tell wealth and poverty from walking posture

How to tell wealth and poverty from walking postu...

What does it mean when there is no career line in palmistry?

What does it mean if there is no career line on y...

What does a mole on the back of the hand mean?

What is a mole? I believe some people know what a...

What does black ears indicate?

The color changes of human organs can reflect a p...

What kind of woman's face is good for her husband?

Every man hopes to marry a woman who brings good ...

Perseverance will eventually lead to success

It is difficult to achieve success immediately, a...

Why can't you make money on Bitcoin?

I often have new friends ask me how to play Bitco...

What exactly is the controversial MIT ChainAnchor in the Bitcoin community?

Based on the information provided to me, it looks...

Where does Mercury refer to? Mercury and the fortune of the year

Below the philtrum, right next to the philtrum is...

UAE government spends $140,000 to sponsor blockchain hackathon

On November 30, the United Arab Emirates governme...

1,157 pages of documents revealed: Who lent money to Three Arrows Capital?

With the disclosure of more than 1,100 pages of l...

Love line interpretation of the fate of men and women

Love line interpretation of the fate of men and w...