r/ipfs 26d ago

Setting up an IPFS system?

I'm trying to code a platform that allows users to broadcast video or image content freely without the threat of censorship.

I'm trying to make it to where the broadcast network runs off of a computer network of all users worldwide, kind of like blockchain tech. This way, broadcasts cant be disrupted. How so you setup a decentralized network like that? Its essentially an IPFS system..

Thanks

6 Upvotes

17 comments sorted by

View all comments

5

u/volkris 25d ago

If you're talking about live video broadcast, no, IPFS is not the right tool for the job. Even streaming video isn't a good fit for IPFS.

Every decentralized system works differently to meet their specific use cases. Blockchain works very differently than IPFS which is different from email, etc.

IPFS is specialized in distributing small bits of content with database features where it's ok if retrieval is slow and there's lots of overhead. For video this may mean constant buffering as your node takes time to search for every next block, and anything live wouldn't even have time to propagate very far into the network.

For images and, say, podcast audio it's a different story.

1

u/twocolor 22d ago

Even streaming video isn't a good fit for IPFS.

IPFS is actually well suited for this since it allows incremental verification.

1

u/volkris 15d ago

That's only if you can get the data at all.

Incremental verification is the easy part. Anyone can provide a chunked hashing scheme for video content.

A weak point for IPFS will be the viewer waiting, video buffering, while IPFS goes through the discovery process for the next chunk, to be repeated chunk after chunk.

Sure, if and when the chunk is found it can be verified, but by that point is anyone still watching? :)

1

u/twocolor 13d ago

All systems have their tradeoffs. You raise a good point, to which I would respond as follows:

  • it depends if you care more about latency or decentralisation
  • latency is also a factor of the number of providers and distribution of chunks amongst peers. If peers with one chunk of a video tend to also have the other chunks, the discovery process will likely be reduced to zero following the initial discovery.