Skip to content
  • Home
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. 🏕️ my adventures in #selfhosting - day 171 (brainstorming edition) 🤔​

🏕️ my adventures in #selfhosting - day 171 (brainstorming edition) 🤔​

Scheduled Pinned Locked Moved Uncategorized
selfhostingfediforumpeertubemysocalledsudolelefedivideos
4 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • elena@aseachange.comE This user is from outside of this forum
    elena@aseachange.comE This user is from outside of this forum
    elena@aseachange.com
    wrote last edited by
    #1

    🏕️ my adventures in #selfhosting - day 171 (brainstorming edition) 🤔​

    Good morning Fedi friends!

    As I prep the launch of my Fediverse intro video (premiering this afternoon at #FediForum, then widely on Monday) I have a new plan to mitigate traffic surges and potential issues to my VPS.

    I'd love your advice / feedback about my plan. You always have such smart insights.

    Some background info that's relevant:

    Remember how a few months ago the "Mastodon Hug of Death" would take my VPS offline within seconds of sharing a link to a new blog post? The issue was so bad I had to turn the blog private till I had solid caching in place. Varnish cache solved this.

    Problem is, my PeerTube is on another VPS that doesn't have Varnish... and I'm scared that direct links to my PeerTube video page from Mastodon would freeze or take offline the whole VPS. Not so much for the streaming per se - PeerTube has P2P functionalities that share bandwidth - but more for having hundreds / thousands of servers trying to fetch the video's cover image.

    So, my plan:

    Publishing the video as UNLISTED on my PeerTube (so that nobody has a direct link to it) and then embedding it in a blog post on my Ghost blog... so that when people share that link from Mastodon, Varnish will do its magic... the cover image from the video won't be affected because Mastodon will fetch the cover image of the BLOG post. Then I would let #PeerTube's P2P do its magic.

    Thoughts?

    Thank you in advance 🙏​

    #MySoCalledSudoLife #EleFediVideos


    ozoned@social.ozoned.netO 1 Reply Last reply
    1
    0
    • ozoned@social.ozoned.netO ozoned@social.ozoned.net shared this topic
    • elena@aseachange.comE elena@aseachange.com

      🏕️ my adventures in #selfhosting - day 171 (brainstorming edition) 🤔​

      Good morning Fedi friends!

      As I prep the launch of my Fediverse intro video (premiering this afternoon at #FediForum, then widely on Monday) I have a new plan to mitigate traffic surges and potential issues to my VPS.

      I'd love your advice / feedback about my plan. You always have such smart insights.

      Some background info that's relevant:

      Remember how a few months ago the "Mastodon Hug of Death" would take my VPS offline within seconds of sharing a link to a new blog post? The issue was so bad I had to turn the blog private till I had solid caching in place. Varnish cache solved this.

      Problem is, my PeerTube is on another VPS that doesn't have Varnish... and I'm scared that direct links to my PeerTube video page from Mastodon would freeze or take offline the whole VPS. Not so much for the streaming per se - PeerTube has P2P functionalities that share bandwidth - but more for having hundreds / thousands of servers trying to fetch the video's cover image.

      So, my plan:

      Publishing the video as UNLISTED on my PeerTube (so that nobody has a direct link to it) and then embedding it in a blog post on my Ghost blog... so that when people share that link from Mastodon, Varnish will do its magic... the cover image from the video won't be affected because Mastodon will fetch the cover image of the BLOG post. Then I would let #PeerTube's P2P do its magic.

      Thoughts?

      Thank you in advance 🙏​

      #MySoCalledSudoLife #EleFediVideos


      ozoned@social.ozoned.netO This user is from outside of this forum
      ozoned@social.ozoned.netO This user is from outside of this forum
      ozoned@social.ozoned.net
      wrote last edited by
      #2

      @elena have you verified that this works? Honestly if this works it's brilliant. I didn't even know about Varnish, so I'll check it out!

      elena@aseachange.comE 1 Reply Last reply
      0
      • ozoned@social.ozoned.netO ozoned@social.ozoned.net

        @elena have you verified that this works? Honestly if this works it's brilliant. I didn't even know about Varnish, so I'll check it out!

        elena@aseachange.comE This user is from outside of this forum
        elena@aseachange.comE This user is from outside of this forum
        elena@aseachange.com
        wrote last edited by
        #3

        @ozoned I've added a plugin to my PeerTube that allows me to embed unlisted videos... and tested it out on my self-hosted Ghost blog, it works! 😅​

        ozoned@social.ozoned.netO 1 Reply Last reply
        0
        • elena@aseachange.comE elena@aseachange.com

          @ozoned I've added a plugin to my PeerTube that allows me to embed unlisted videos... and tested it out on my self-hosted Ghost blog, it works! 😅​

          ozoned@social.ozoned.netO This user is from outside of this forum
          ozoned@social.ozoned.netO This user is from outside of this forum
          ozoned@social.ozoned.net
          wrote last edited by
          #4

          @elena you're brilliant!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Administrata Banner
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Home
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups