iroh icon indicating copy to clipboard operation
iroh copied to clipboard

Example for connecting multiple node id and fetching the collection

Open silicology1 opened this issue 1 year ago • 2 comments

The gateway example connects a single node, and then fetching the file.

What if I want to connect multiple node ids that have a file with the same hash, and download different parts of file from different node in parallel?

silicology1 avatar Jul 21 '24 05:07 silicology1

The gateway is not able to do this currently

dignifiedquire avatar Jul 22 '24 10:07 dignifiedquire

Is it possible to do it with iroh currently? The example I saw all were fetching file from single node id.

silicology1 avatar Jul 23 '24 11:07 silicology1

take a look at this tracking issue on iroh-blobs to know when fetching the same content from multiple nodeIDs will be available ( which we call "multi-provider fan-in") https://github.com/n0-computer/iroh-blobs/issues/4

ramfox avatar Sep 22 '25 19:09 ramfox