181
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 12 Dec 2023
181 points (96.9% liked)
Linux
48143 readers
723 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
It is part od the Fediverse, so commenting, likes, following, etc. should regarless of what ActivityPub-enabled service you use for interactions (for example can comment from Mastodon account).
The "Peer" part of "PeerTube" means that the video player itself is based on torrent technology. It is not saved on your device (unless you decide to), just when you watch you also send the video to cut off some of the server's bandwidth. Videos are not shared between servers, only the information that they exists, only on uploader's server and between user's devices.
It is not to preserve videos online, for that we have other tools like proper torrents, this is ment to be alternative to YouTube. TLDR Here ActivityPub is for statuses, Torrent is for helping the servers.
So, my device/bandwidth is basically a tunnel so to speak that helps push the video (that is saved on the uploader's server" to others? So peertube only uses my Internet and my device's CPU?
It uses just the same as other video sites plus some upload bandwidth that is usually unused anyway. Also there is an option to download the video purely by HTTP without torrenting if someone wants to.
~~No.~~ [I was wrong. In addition to being distributed between servers like I said, you can also enable P2P sharing to distribute the bandwidth even further.]
If you have a server that allows users to sign up, the stuff they follow/watch (you'd have to look at details if you want to host to see exactly how it's distributed) goes through your server.
The flip side to this is that, when your user uploads an extremely popular video (or you personally do if you don't allow signups), you don't have to stream every video to every individual user. You send it on to other federated instances that those users are signed up to, but if one instance has 100 users view your video, you don't have to send it 100 times. (This is likely less efficient than YouTube, because they can control exactly how load is spread between their delivery network with a comprehensive view of everything, but it dramatically lowers the barrier to entry for an individual to get involved or handle the distribution demand of a popular video.)
~~Just as a client, you don't serve anyone else. It's a website (or app) that works much like YouTube does. It's on the server side where the load is distributed.~~