Skip Navigation
51 comments
  • I wonder if the caching is not aggressive enough or something.

    I had a PeerTube video from my instance on the HN FrontPage last week and the load was minimally higher compared to before or after.

    I had several of my blogposts on HN FrontPage in the past. The first time it happened it brought my poor VPS to the Knies, but I learned from it and cached pages with nginx for some minutes and since then never had any problems. Just invalidate the cache when there are changes.

    • How does peertube cache? I know it P2P the video which is nice in case anything goes viral, but I never took the time to figure out any caching.

      My tiny single digit user instance seems to keep up with any traffic on a equivalent of a pi.....so I assume its good .

      • I also put the video itself into a S3 bucket, so PeerTube basically only has to show the meta data and the comments from my server, so kind of like what Mastodon or Lemmy/PieFed has to do. I just had a look at the [PeerTube nginx config((https://github.com/Chocobozzz/PeerTube/blob/develop/support/nginx/peertube) but couldn't see anything there which would do caching, so I assume the app does it's own caching somewhere.

        For my website, which is a rails application, I did

         undefined
            
        proxy_cache_path /var/lib/nginx/cache/jeena.net keys_zone=jeenanet:30m;
        
          

        and then

         undefined
            
        location @rails {
            # ...
            proxy_cache jeenanet;
        }
        
          
  • I have no idea how to get my app to open the original article ( https://feddit.org/post/18353777 ) so I'll just mention here that I installed PostmarkedOS on my ancient Wileyfox Swift a few days ago.

    And while it was very exciting this particular setup was barely usable. I tried all the UI / DE options but only Phosh and KDE recognized touch inputs (so I could not do anything on Gnome and SXMO or whatever it is called). Phosh had some very weird problems with the onscreen keyboard and flickering menus and KDE had amazing graphical glitches (it really was quite something, I wish I had taken photos with another camera now) and sleep wasn't working even after the fixes from the wiki. I really wanna check it out on mever hardware at some point through, I think it's a really cool project:

    https://postmarketos.org/

51 comments