The new iroh-blobs design restores the initial “one unique identifier for each file” ethos of IPFS (abandonned by IPFS), to reduce swarm fragmentation. It takes the standard Blake3 hashing algorithm to generate file CIDs (equivalent to Bittorrent magnet infohash).

The protocol uses the Mainline Bittorrent DHT (not a custom DHT). There is no notion of block CIDs (no potential deduplication, but also less scalability issues for announcing each block CID on the DHT).

So that’s a lot of design simplifications that will improve implementation time.

If you are interested, have a try at Iroh-share, a CLI and TUI Rust implementation.

  • 503@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    I can’t help but think about this while reading this post. However, this is probably indicative of my lack of understanding of computer networks, despite dealing with it from time to time.

    • jajalayer@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Sorry for that! Basic is: it’s fully decentralized, and when anyone starts sharing a file, it joins a unique swarm of seeders. Whereas on Bittorrent, there is one swarm for each torrent, each private tracker for the same file, and also for folders (TV episode; TV season; TV series); this is called “swarm fragmentation” and leads to low speed and dead torrents.

  • leanleft@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    20 days ago

    iroh-share is not decentralized filesharing.
    ~~iroh seems like a stack. like https://libp2p.io/docs/~~
    eventually they may have a tool that does decentralized filesharing.
    and if i was going to dev my own solution from scratch, iroh would be my pick.
    but i’m lazy so i use ipfs(kubo) . it works
    update: i now see that iroh has https://github.com/n0-computer/iroh-share
    however it does not share partial pieces like bittorent and ipfs .
    in many cases, that might actually be more efficient (like an ordinary download).
    and from my understanding: it supports multiple providers as the source. ( so it is decentralized ).
    i think there are advantages and drawbacks.