The Founding Principle

At the heart of PeerStorage is a system that stores data reliably on devices that keep going offline. Here is an illustration of one way to build a virtual block device from many separate devices, each contributing a share of its own memory.

Each square is a “data store”. It is made of:

Try it yourself to see how it works:

Experiment with different sizes. Watch how the redundancy ratio changes (total cells / grey cells).

Rebuild all "stores"
Change array size
Change parity distribution

A simple probability calculation under these assumptions:

Over a year, the probability of losing data is one in ten million (10-7).