this post was submitted on 12 Mar 2025
85 points (98.9% liked)

Fediverse memes

1029 readers
513 users here now

Memes about the Fediverse

Other relevant communities:

founded 5 months ago
MODERATORS
 

cross-posted from: https://lemmy.abnormalbeings.space/post/75057

I may make it even bigger if no users join the server

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 day ago

Meanwhile the instance in watch from doesn’t support p2p webrtc facepalm

[–] [email protected] 7 points 3 days ago
[–] [email protected] 2 points 3 days ago

Nice, I'm doing my part!

[–] [email protected] 8 points 4 days ago (1 children)

I don't know anything about Peertube. What does this meme mean?

[–] [email protected] 11 points 4 days ago (2 children)

Basically, you can set up your PeerTube server to mirror videos from your federated network according to algorithms (and also by adding videos manually).

PeerTube uses the WebTorrent protocol, so that a video that gets super popular isn't as likely to crash the server it's on or essentially DDOS it. In this case, my server has a significant portion of HDD space set aside for some servers I trust to have quality content, so that recent videos, trending videos and their overall most watched videos are mirrored by mine (rotating them in and out automatically). The server will be a peer seeding the video while it is watched anywhere, thus reducing the load on the original server, and making the video more resilient against uptime failure of the original server.

[–] [email protected] 7 points 4 days ago (1 children)

That's really cool! Are there any resources available for anyone wanting to set that up themselves?

[–] [email protected] 5 points 4 days ago

As far as I know, no options exist for something like a local PeerTube instance without a proper server, without also having a domain name, so doing it locally is a bit complicated.

I'd guess the closest would be to have tabs open with videos you want to mirror, so you are a peer via webtorrent for those, but that is clunky, and I am unsure how well it would even work without having the tabs active.

But I am relatively new to this as well, so maybe someone else has some info I am lacking right now.

[–] [email protected] 4 points 4 days ago (1 children)

Neat. I've got an extra 10TB lying around, got any good setup documentation/guides you could reccomend?

[–] [email protected] 4 points 4 days ago

See my comment to kayzeekayzee, I don't think local options exist - but I am also relatively new myself - so maybe someone else knows something.

But if you have those 10TB somewhere you can put behind a domain name and server installation - This is the official documentation.

Of note: The part in the config file (usually /var/www/peertube/config/production.yaml) looks like this (my current config as an example)

redundancy:
  videos:
    check_interval: '15 minutes' # How often you want to check new videos to cache
    strategies: # Just uncomment strategies you want
      -
        size: '50GB'
        # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
        min_lifetime: '48 hours'
        strategy: 'most-views' # Cache videos that have the most views
      -
        size: '150GB'
        # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
        min_lifetime: '48 hours'
        strategy: 'trending' # Cache trending videos
      -
        size: '100GB'
        # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
        min_lifetime: '48 hours'
        strategy: 'recently-added' # Cache recently added videos
        min_views: 10 # Having at least x views

[–] [email protected] 1 points 3 days ago* (last edited 3 days ago)

I gotta get those new 512GB SSD’s installed on my PeerTube server, so I can setup redundancy as well for some other servers.

Probably @[email protected] PeerTube server will be one of them and maybe fedi.host.