this post was submitted on 18 Jan 2025
235 points (89.6% liked)

Technology

60566 readers
3594 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Ulrich@feddit.org 4 points 1 day ago (1 children)

PeerTube uses WebTorrent technology. Each server hosts a torrent tracker and each web browser viewing a video also shares it. This allows to share the load between the server itself and the clients as well as the bandwidth used through P2P technology.

https://en.wikipedia.org/wiki/PeerTube

[–] just_another_person@lemmy.world 4 points 1 day ago (1 children)

Yes, and it's incredibly slow and wouldn't scale to millions of users. If one user is high bandwidth, and another low, you'd have uneven distribution of traffic for a newly connecting user, meaning the entirety of whatever you're about to watch won't be completed in time for a good user interaction flow. The issue isn't whether it's technically possible or not, but if it's functional enough for similar traffic as TikTok.

The other issue with torrenting is that a lot of users may incur data charges if the service were to be constantly seeding other users on limited data plans or with data or speed caps in general. It's just not the right tool for the job.

[–] Ulrich@feddit.org 0 points 1 day ago* (last edited 1 day ago) (2 children)

It will scale just fine, so long as the ratio of instances:users is similar.

The current ratio of consumers:creators on youtube is 41:1, by my research. A single server of sufficient power could easily serve thousands of users.

[–] Saik0Shinigami@lemmy.saik0.com 3 points 23 hours ago (1 children)

by my research. A single server of sufficient power could easily serve thousands of users.

That's some shitty research you've done then.

1000 users streaming something that's 5mbps would be 5gbps.

5gbps isn't common for consumers... and costs a lot in a datacenter (about 4k/month on the cheaper end).

[–] Ulrich@feddit.org -1 points 22 hours ago* (last edited 22 hours ago) (1 children)

Buddy, do you not know how periods work? That's 2 different sentences you've mashed together and pretended they were one.

Secondly, I didn't say simultaneously.

[–] Saik0Shinigami@lemmy.saik0.com 2 points 22 hours ago (1 children)

I do know how sentences work. I also know that paragraphs and posts sound be related to each other. Your sentences are not completely divorced from each other.

The point was that you're claiming to do research on something just to turn around and say something that WILDLY wrong. This discredits any amount of research you would have done.

Doesn't matter if you say simultaneously or not. You said THOUSANDS... I showed you just 1000. And this was ONLY looking at bandwidth. Not actual server costs.

[–] Ulrich@feddit.org -1 points 19 hours ago* (last edited 19 hours ago) (1 children)

The point was that you're claiming to do research on something just to turn around and say something that WILDLY wrong

I claimed to do research on something very specific. If you have evidence to the contrary, please feel free to prove me wrong instead of just intentionally misrepresenting my statement.

Doesn't matter if you say simultaneously or not.

...of course it does? A thousand simultaneous streams is not going to have the same load as a dozen...

[–] Saik0Shinigami@lemmy.saik0.com 1 points 12 hours ago (1 children)

So now you've backed down from "thousands of users" to a dozen?

If you have THOUSANDS OF USERS (your words)... you should probably at least plan for 1000 concurrents, probably more (remember you have to plan for peaks, not average).

You seem to be missing this repeatedly... I'm not sure how else to present it to you. You made the claim that a decent singular server should be able to host THOUSANDS (with an S... so multiple thousands.) I'm showing you that even if it's just 1000 concurrents, you're paying a heavy cost JUST for bandwidth... forget the server. You're over your head if you think a single server is doing this shit.

I run a plex instance, I have 8gbps internet to my house. I could host probably 80-100 simultaneous streams on that bandwidth of raw blurays. My servers could not handle that load simultaneously (and they're hooked up as 40gbps internally). If bandwidth is the easy side of this equation (it is)... and your assertions are already failing... Then you're just plain wrong.

[–] Ulrich@feddit.org 0 points 4 hours ago* (last edited 4 hours ago) (1 children)

So now you've backed down from "thousands of users" to a dozen?

You continue to engage in bad faith strawman arguments and try to misrepresent my statements, even after I've already clarified them, so I have no interest in continuing this discussion.

[–] Saik0Shinigami@lemmy.saik0.com 1 points 4 hours ago

I haven't bad faithed anything... You clearly don't understand how hosting a service works, in the case of "thousands of users" 1000 active is a hard lowball.

You've clarified nothing. You constantly moved goalposts and pushed random "facts" like those statements changed anything about the original premise you presented and my response to it. You started with "THOUSANDS OF USERS". Then backed down to 12 two posts later.

THOUSANDS OF USERS -> Okay so let's take a case of 1000 active users...

UH UH, I didn't say simultaneous!!! -> Good thing I only took a case of 1000 active users then... BTW we're not even looking at server costs for processing, just raw bandwidth.

Uh Uh, What about 12 users!!!!!!!! -> (we are here).

You need help dude. Nobody is coming after you. And nobody misrepresented you. You're just completely out of your depth, which is okay. But don't act like somebody is misrepresenting you, the world can read your responses.

[–] just_another_person@lemmy.world 2 points 23 hours ago* (last edited 23 hours ago) (1 children)

That's not how this would have to work though. Even with dedicated seeding instances, the instantiation of a session for a torrent is LONG. Like 5s+ long. A request and response from a CDN is in the milliseconds. Users wouldn't use a system that takes 5s just for the initial request for a single video, plus the additional time to sort for segments and recombining before it plays. Even in a fast-ish scenario, that's like 10s alone.

Imagine waiting 10s for a stupid internet video to even start playing to watch some kid dance with a rubber chicken in their pants.

[–] Ulrich@feddit.org 1 points 22 hours ago

the instantiation of a session for a torrent is LONG. Like 5s+ long

That's weird because it works instantly for me.