How do we distribute the cost? Say a popular creator uploads a video to a peertube instance and gets 10 million views, the video is 10 minutes and 15mbps bitrate, that's roughly 10 petabytes of data the peertube server needs to send.
If we take say, Vultr as an example for outgoing data costs, that's something like $100,000 of data for a single video.
Yes P2P will take some of that load off, but not that much with how restrictive NAT is these days.
Can you explain it a little? Because I'm not sure I get it. As far as I know peertube is centralized with a P2P element on top, but P2P only works if at least one side has an open port.
It sounds like you get it but what I'm saying is you just add colo'd (or whatever) peers. Nobody in particular needs to be responsible for that. Bandwidth in Eastern Europe, for example, is dirt cheap - practically free. It'd be similar to how we do Mastodon: a bunch of different peer networks with a bunch of different funding and management models. You don't need to rely on the instance server for hosting, just initial seeding. Think of it like the original seeder in BitTorrent (a model which we see working great to this day because people rent dirt cheap seedboxes.)
Does peertube support using another host as a dedicated P2P peer, and it would load balance over available hosts? I feel like I looked into that before and it was only clients watching the video that could do it.
But if it can now, that would be the missing piece that I wasn't getting.
As far as I understand it that is possible in multiple ways. What's not currently possible (unless something changed) is load balancing write operation.
If we take say, Vultr as an example for outgoing data costs, that's something like $100,000 of data for a single video.
Yes P2P will take some of that load off, but not that much with how restrictive NAT is these days.