What are the currently available solutions for medium-volume distributed & persistent storage? Aim is probably on the order of a gigabyte over the lifetime of an app, so we can’t just put it on chain.
Should we just use IPFS, or are there any more recent alternatives? Not to say that there’s something wrong with IPFS.
At the moment, the Bee client in Swarm tries to retrieve chunks (canonical storage unit) on top 32 different paths on which intermediate nodes can serve the content because of the bandwidth incentives. This also raises the probability to ask a honest node in the target neighborhood and to avoid from “black holes” on the Kademlia path.
Thereby, the malicious node needs to maintain as many active and reliable connections as it can with peers on the network to somewhat prevent successful retrievals. The bigger the network, the costly it gets.
On top of that, if someone succeeds in pulling this and takes over a neighborhood like this then built-in erasure coding can help to retrieve the requested data from other honest/closer neighborhoods. Since files are split into 4K chunks, and those scattered across neighborhoods, with erasure coding in place the attack is even harder to pull.