Live data from Hacker News

Ask HN: Why is there no P2P streaming protocol like BitTorrent?

news.ycombinator.com

211–220 of 231 posts

Re: Ask HN: Why is there no P2P streaming protocol like BitTorrent?

#211
> I've been wondering if anyone knows why there is no P2P protocol for mass live stream content in decent quality?

We had torrent client/streaming video players maybe 20 years ago already.

> Does anyone have knowledge on why it isn't a thing still though?

It is a thing, it seems you didn't do your research.

There's articles all over the interweb if you went and looked, such as

https://www.makeuseof.com/best-torrent-streaming-apps/

Re: Ask HN: Why is there no P2P streaming protocol like BitTorrent?

#212

Earlier quoted context omitted.

I am not convinced about the random order stuff. If most people will stream from the start then the start will be more seeded? So it's all good. And the order is requested by the client, and there are clients that go in the sequential order, like Deluge

If everybody starts at the start then it will be very poorly seeded when everybody wants it, before the being well seeded right when nobody needs it.

That's only true if everyone starts at the very same moment in time. Of course that is not reality, and it works out well in practice.

Re: Ask HN: Why is there no P2P streaming protocol like BitTorrent?

#213

> I've been wondering if anyone knows why there is no P2P protocol for mass live stream content in decent quality? We had torrent client/streaming video players maybe 20 years ago already. > Does anyone have knowledge on why it isn't a thing still though? It is a thing, it seems you didn't do your research. There's articles all over the interweb if you went and looked, such as https://www.makeuseof.com/best-torrent-s…

Seems you missed the "live" part.

Re: Ask HN: Why is there no P2P streaming protocol like BitTorrent?

#214
post #90
post #83

Earlier quoted context omitted.

Peertube supports live streams https://framablog.org/2021/01/07/peertube-v3-its-a-live-a-li... There is a lag between the source and the audience, maybe it's been improved in the last 4 years though, not sure.

Hmm interesting i didn't know that. I couldn't find much docs on how it works, just https://docs.joinpeertube.org/contribute/architecture#live Sounds like they break the stream into very small segments and publish each of those with bit torrent (?), they seem to claim about 30 second delay and scale in the hundreds but not thousands. Certainly impressive if true, i wouldnt of thought such an approach would scale so w…

You can find more information in this article presenting results from a stress test: https://joinpeertube.org/news/stress-test-2023

Re: Ask HN: Why is there no P2P streaming protocol like BitTorrent?

#216

Earlier quoted context omitted.

what is difference what kind of data chunk it is? 0 difference. or for university educated - he introduced file as a helpful abstraction, so i work with that abstraction, if you say it is not good abstraction then tell him. calling ts file a file is absolutely correct in any sense of word. just to be thorough. in philosophical debate we are having in computer science. ( yes toxic sarcasm ) that one post is more to th…

I'm using "static file" to mean something pre-recorded that even if users will view in order, they will likely start at different times, so different users will be viewing different parts of it. In contrast to a live stream where everyone is viewing the same part at the same time, and once that part passes nobody is likely to view the old part ever again. This makes a big difference in terms of network design.

yes so makes no difference if it is file "without end" (pipe essentially) or bunch of TS files.

Re: Ask HN: Why is there no P2P streaming protocol like BitTorrent?

#217

Earlier quoted context omitted.

My point is you could for example choose not to use very much (or any) extra upload bandwidth without getting user consent first.

That's like saying you can choose not to run a website. Like yes, you certainly could choose to do that, but not if you're planning to run a p2p based streaming website.

It doesn't have to be p2p based. That's unlikely to work well in practice. But it could be p2p augmented opportunistically.

Re: Ask HN: Why is there no P2P streaming protocol like BitTorrent?

#219
post #214
post #90

Earlier quoted context omitted.

Hmm interesting i didn't know that. I couldn't find much docs on how it works, just https://docs.joinpeertube.org/contribute/architecture#live Sounds like they break the stream into very small segments and publish each of those with bit torrent (?), they seem to claim about 30 second delay and scale in the hundreds but not thousands. Certainly impressive if true, i wouldnt of thought such an approach would scale so w…

You can find more information in this article presenting results from a stress test: https://joinpeertube.org/news/stress-test-2023

Its probably not that realistic a test if all peers are on the same local network.

Re: Ask HN: Why is there no P2P streaming protocol like BitTorrent?

#220
Good question! I'm not too sure. But I often wonder why P2P hasn't become more robust as speeds and tech have improved. Like live service games.. it feels like there could be robust P2P implementation that could facilitate a lot of failed multiplayer.

I imagine that cutting out the live service ($$$) and SaaS have a large role to play.

Post reply on HN