Does IPFS can download a file from the closest source file available ? #102
Comments
|
Public gateways (ipfs.ip/ipfs/) are only temporary migration facility. For full IPFS's potential you have to run local daemon which will act as your own private gateway. This gateway will try to download content from the closest peer available. Using links in format: https://ipfs.io/ipns/bin.ipfs.ovh/ is temporary measure so people that don't have IPFS running can use services. With right addon (ipfs-gateway-redirect for FF) links in this format are usable: fs:/ipns/bin.ipfs.ovh/ which is probably targeted format for browsers. |
|
What's the "closest" mean? Min geolocation distance? Or network topology cost? Or RTT? |
|
actually, IPFS has a pretty good idea from the outset what peers are local, because peers announce their local addresses as well. It's a good bet that communicating with people at these addresses will be way faster than through any kind of internet infrastructure. |
|
This issue has been moved to https://discuss.ipfs.io/t/does-ipfs-can-download-a-file-from-the-closest-source-file-available/404. |
mpgn commentedMar 27, 2016
Two people have IPFS and user1 download a file with IPFS. The other one want to download the same file and click on the same link as user1. The file retrieves from user2 will be download from user1 ?
Now imagine we can get the closest ? (maybe it's already possible)
Every tutorial use ipfs.io to/ipfs or ipfs.ip/ipns to share link. Of course you can share a link with a direct IPv4 adresse, but i think the file will be download every time from this adress and IPFS will no look for the closest source so we came back to centralized data.
But if ipfs.io fall down, there is no more gateway, and the system is broken no ?
The text was updated successfully, but these errors were encountered: