this post was submitted on 21 Dec 2023
127 points (97.7% liked)

Open Source

31256 readers
226 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/9820251

PeerTube is a decentralized and federated alternative to YouTube. The goal of PeerTube is not to replace YouTube but to offer a viable alternative using the strength of ActivityPub and P2P protocols.

Being built on ActivityPub means PeerTube is able to be part of a bigger social network, the Fediverse (the Federated Universe). On the other hand, P2P technologies help PeerTube to solve the issue of money, inbound with all streaming platform : With PeerTube, you don't need to have a lot of bandwidth available on your server to host a PeerTube platform because all users (which didn't disable the feature) watching a video on PeerTube will be able to share this same video to other viewers.

If you are curious about PeerTube, I can't recommend you enough to check the official website to learn more about the project. If after that you want to try to use PeerTube as a content creator, you can try to find a platform available there to register or host yourself your own PeerTube platform on your own server.

The development of PeerTube is actually sponsored by Framasoft, a french non-for-profit popular educational organization, a group of friends convinced that an emancipating digital world is possible, convinced that it will arise through actual actions on real world and online with and for you!

Framasoft is also involved in the development of Mobilizon, a decentralized and federated alternative to Facebook Events and Meetup.

If you want to contribute to PeerTube, feel free to:

all 10 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 11 months ago (1 children)

So more users = less load πŸ€”

[–] [email protected] 11 points 11 months ago (3 children)

Pretty impressive capability for only $20/mo, I gotta admit. I'm wondering how they even got their server rental that low, as it seems a lot cheaper than AWS/Azure for the same type of functionality.

[–] [email protected] 14 points 11 months ago (2 children)

They take advantage of viewer federation a lot, webrtc is used, so all the simulated browsers are sending the video to each other rather than hitting their server. So their setup is really just a part of the p2p swarm, like a single client in a bitorrent network. Doesn't use anything fancy above that.

Honestly, it's only a setup that's gonna get far if you serve very few videos, and the P2P client rate is high. Their "real world" assumption of 50% of all clients being p2p enabled is way too high, and they couldn't limit p2p bandwidth so all the clients were sending data to each other at lan speeds.

It's interesting, but it needs to actually leave the simulation and enter real world load to know how things shake out.

[–] [email protected] 2 points 11 months ago

All very good points, I fully agree with you. The amount of videos is a particularly valid point I'd like to see experimented with more.

[–] [email protected] 1 points 11 months ago (1 children)

And the bittorrent-like concept has issues that many people won't want to subject themselves to.

How many people are seeding what videos now?

[–] [email protected] 4 points 11 months ago

No its not like that. You only seed videos you are currently watching.

[–] [email protected] 4 points 11 months ago

AWS/Azure are incredibly expensive compared to most hosting providers. If you need the services and scale they provide then they can be good value but there are for sure expensive.

[–] [email protected] 1 points 11 months ago

For example the Hetzner servers are cheap and have been serving me well for many years. The big clouds are for companies with enough funding. If you need personal servers, the VPS providers give good value for money.