Build a peer to peer content delivery network using iroh connections and the iroh-blobs protocol

Networking, Peer-to-Peer, CDN

Rüdiger Klaehn image
Rüdiger Klaehn

Iroh provides direct connections between any two devices, no matter where they are.

Iroh-blobs provides a protocol for content-addressed storage and verified streaming on top of iroh connections. We will build a peer to peer content delivery network that works on all devices and can be used to stream videos or distribute large assets such as LLM weights. We will start with the basics - opening peer to peer QUIC connections using iroh.
Once we can open point to point connections, we will plug in the iroh-blobs protocol and build a peer to peer content delivery network that uses the machines of the workshop participants.

At the end of the workshop we will have the ability to provide large data items and efficiently download them from multiple providers.

This is a Rust workshop. You will need the Rust build tool cargo and a Rust IDE such as VSCode installed. However, examples for each step of the workshop will be provided on Github, so this workshop will also be useful for Rust beginners, provided you have some interest in networking.

Key Takeaways

Peer-to-Peer technology does not have to be complex or unreliable. Done right, it can be just another tool in your toolbox. Especially in the case of large scale data distribution is has very large advantages.

Target Audience

Any software developer with a general intermediate experience. Some Rust knowledge would be helpful but I will make sure that even people without rust knowledge can benefit from the workshop.

Requirements

Duration

3 hours

canela Workshop

€50

Max. Attendees: 20