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.

  • leanleft@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 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.