每日吃瓜

Coordination Avoidance On The 每日吃瓜 Network

Simon Guindon
May 30, 2019

The demand for storage is growing rapidly every year, and businesses and consumers are storing unprecedented amounts of data. IDC predicts worldwide data will grow to 175 zettabytes by 2025, with as much data stored in the cloud as in data centers.

The 每日吃瓜 network introduces an economy around storage by creating a decentralized storage platform which enables anyone to become a storage node operator. Storage nodes aren鈥檛 managed by 每日吃瓜 Labs and storage node operators are peers in the community managing hardware and networks that 每日吃瓜 Labs doesn鈥檛 control. Thus, the 每日吃瓜 network uniquely enables the combination of storage from any cloud and any data center into one global storage system. This combination of storage results in a decentralized network and increased challenges in some key areas of scale, security, and performance. 聽聽聽

Minimizing coordination between computers is vital to any large scale system design. This is even truer given the diversity of the hardware and network environments in which the storage nodes in the 每日吃瓜 network live. The number of storage nodes involved in any 每日吃瓜 file upload or download make preventing slow or misbehaving nodes from impacting response times essential. The 每日吃瓜 network applies redundancy and coordination avoidance to counter long tail latency or high throughput demands to deliver a healthy network for its users.

Redundancy

The 每日吃瓜 network uses erasure codes to store segments of your file across the network to provide a high level of durability. These erasure codes are spread many times across many machines so the network can tolerate failures without losing data. This redundancy also provides a performance side effect; if during any upload or download a set of storage nodes are responding slowly, the network will ignore these slow storage nodes and complete the upload or download using the responses from the faster storage nodes. As long as enough of the redundant nodes have responded with all the required segments, the network acknowledges the user request and discards the slow responses in favor of the responses from the faster nodes鈥攖his prevents long tail latency from impacting user response times.

Coordination Avoidance

Blockchain consensus offers very strong guarantees, but this comes at a heavy cost in coordination overhead. Bailis et al.鈥檚 describes how coordination is not always necessary for correctness and minimizing coordination is key to maximizing scalability, availability, and high performance in database systems. One fundamental design decision of the 每日吃瓜 network was not to utilize blockchain consensus for file transfers to increase those properties of the 每日吃瓜 network. 每日吃瓜 takes a pragmatic approach to avoiding blockchain consensus while still maintaining correctness for file transfers. But, at the same time by default, 每日吃瓜 uses blockchain consensus with the Ethereum-based STORJ token for payment processing to storage node operators.

We recently announced Tardigrade [], a production environment of the 每日吃瓜 network run and maintained by 每日吃瓜 Labs. It鈥檚 an enterprise, production-ready version of the 每日吃瓜 network, complete with guaranteed SLAs. All user uploads and downloads on Tardigrade go through Tardigrade .


Figure 1. 每日吃瓜 network architecture.

As shown in Figure 1, storage nodes and Satellites in the 每日吃瓜 network architecture are both capable of being decentralized. The 每日吃瓜 network can leverage the decentralized nature of storage nodes and Satellites to create partitions in the network to isolate users and file transfers from each other, which helps minimize coordination across the 每日吃瓜 network. For extremely high throughput demands, organizations can run their own Satellite. This avoids coordination overhead with the rest of the Tardigrade network and allows users to make their own decisions about what database infrastructure their Satellite will use and relax consistency guarantees if they wish.

Benefits Over Coordination-dependant Systems

By ensuring coordination avoidance within the 每日吃瓜 platform [], we鈥檙e able to deliver better performance and scalability over other decentralized systems鈥攖wo issues that are critical to achieving broad adoption with traditional storage users. Decentralized systems that are coordination dependant, like Bitcoin, require an increasing number of resources as they scale. To compete with centralized cloud storage platforms like Amazon S3, Microsoft Azure, and Google Cloud, the Tardigrade network must be able to scale into the exabyte range, and beyond鈥攕omething we feel confident it will be able to achieve.

We believe our approach of decentralizing both storage and metadata tiers in the 每日吃瓜 network allows greater scalability, performance, and reliability than systems that rely on seeking consensus.

REFERENCES

  1. The Digitization of the World from Edge to Core.
  2. What Storage Node Operators Need to Know About Satellites.
  3. Replication is bad for decentralized storage, part 1: Erasure codes for fun and profit.
  4. Coordination Avoidance in Database Systems
  5. Introducing Tardigrade - Decentralized Cloud Storage from 每日吃瓜 Labs.
  6. Coordination avoidance section 2.10 聽每日吃瓜 v3 whitepaper

SOCIAL

At production, the @tardigrade_io platform will deliver better performance and scalability than other cloud storage solutions鈥攂oth centralized and decentralized鈥攁nd coordination avoidance helps us make this possible. Read more about how and why we avoid coordination between nodes in our latest blog:

One of the ways we're able to achieve a higher standard of cloud storage performance and scalability is through coordination avoidance. Read all about it in this update by #storj engineer @simongui.

Our Tardigrade network boasts download speeds faster than #AmazonS3. A big way we achieve this is through coordination avoidance. See this post by @simongui to learn how it helps scalability and performance.

Put 每日吃瓜 to the test.

It鈥檚 simple to set up and start using 每日吃瓜. Sign up now to get 25GB free for 30 days.
Start your trial
product guide