logoalt Hacker News

immibis10/02/20243 repliesview on HN

PeerTube is just a self-hosted video platform. Video bandwidth is legitimately expensive. You'll still be out a bunch of money if your video goes viral.


Replies

Animats10/02/2024

No, that's the whole point of PeerTube. PeerTube scales up by spreading the playout load amongst everyone who is watching at the moment. If a thousand people are watching your video, most of them are getting the content from the cache of others who are also watching at the moment. Not from the hosting server.

This works well only if many of the watchers have significant upload bandwidth and aren't behind firewalls that prevent them from outputting blocks of video.

This is different from torrent-type systems or Usenet, which distribute persistent copies. With Peertube, only the original server permanently hosts the video. Everybody else is just caching. So the disk usage of watchers isn't that big.

It's all done in the browser.

treyd10/02/2024

That's why it's built on WebTorrent, to share the load across users and instances.

show 1 reply
j4510/02/2024

There are cdns that can help..

show 1 reply