Comment on Making a Simple Self-Hosted Photo Gallery With IPFS
rglullis@communick.news 1 year ago“Cheaper and simpler” only if you are comparing with sites hosted on some big cloud provider. Consider the case where you don’t want or can’t rely on, e.g, Cloudflare or AwS and ask yourself how you would serve lots of static data without worrying about bandwidth or getting DDOS.
Valmond@lemmy.mindoki.com 1 year ago
OVH, Mega, insert lots and lots of other providers here. They probably can handle DDOS etc good enough.
I mean is it only for some niche usage (which is totally okay and fine) like serving lots of static data from lesser unknown providers then?
rglullis@communick.news 1 year ago
There are two aspects you are ihnoring here:
with IPFS you can do it from your own computer
it is content addressable, files are addressed by their hash, which means you can have a system, e.g, different Lemmy instance admins can share a IPFS server and it gets automatically deduplicated, or you can have something like trustless package managers that run without the need of a central authority.
Might not be useful for you, but it should be useful for a lot of people.
Valmond@lemmy.mindoki.com 1 year ago
Okay for the hash (similarly to mysite.com/folder1/IMG.jpg but a string op numbers) buf I upload images and share them from my pc too.
rglullis@communick.news 1 year ago
You are really failing to understand how it works, and I am failing to explain it properly.
No. Similar to a Distributed Hash Table. It won’t matter if people go
https://mysite
or yoursite`. With a DHT, all you need is the hash of the file, and your node will be able to locate all servers who have the relevant pieces of data and send it to you.