s3/r2 + IPFS node = filesystem?
To do any thing, you need storage and communication. Storage so you can remember what other people have said, and communication so you can relay that to other people, and also get new information.
You need to store blobs, store a DB, and host a webapp. The webapp hosting is easy because it is just a static host that serves a JS file.
Storage here usually means combining r2 or s3 with a host (something like AWS EC2) that serves an IPFS node.
Storage is essentially free these days - bandwidth (many people fetching data) is the more costly part, although Cloudflare R2 as an example has brought costs to zero for a lot of use cases
- cloudflare r2 -- giving developers the ability to store large amounts of unstructured data
- aws s3
In the DB we normally just write down a reference to a blob -- a hash typically. The blobs are stored separately from the DB storage, which has text records. You can use just a single disk to store everything, as in ssb, or you can use a network-based storage for blobs & DB.
- you normally need a server-side process that will take a blob and write it to storage and run an IPFS process that will allow accessing it. In ssb blobs are stored in-process via
secret-stackplugin. It writes blobs to the same disk that the DB uses.
- see IPFS
While it would be incredible to have a giant network of servers all storing our data for free, the economics don’t make sense. After all, storage isn’t free. All of this data needs to be stored somewhere and that costs money or tokens.
How do you store the data so that you can find and replicate it?
Who's data do you host on your IPFS node? This is the pubsub situation seen here