With forewarning about a huge influx of users, you know Lemmy.ml will go down. Even if people go to https://join-lemmy.org/instances and disperse among the great instances there, the servers will go down.

Ruqqus had this issue too. Every time there was a mass exodus from Reddit, Ruqqus would go down, and hardly reap the rewards.

Even if it’s not sustainable, just for one month, I’d like to see Lemmy.ml drastically boost their server power. If we can raise money as a community, what kind of server could we get for 100$? 500$? 1,000$?

  • Leigh@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    You could configure something like a Cloudflare worker to throw up a page directing users elsewhere whenever healthchecks failed.

    • nutomic@lemmy.mlM
      link
      fedilink
      arrow-up
      20
      arrow-down
      2
      ·
      1 year ago

      Then cloudflare would be able to spy on all the traffic so thats not an option.

      • Leigh@lemmy.ml
        link
        fedilink
        arrow-up
        14
        arrow-down
        7
        ·
        1 year ago

        spy on all the traffic

        That’s…not how things work. Everyone has their philosophical opinions so I won’t attempt to argue the point, but if you want to handle scale and distribution, you’re going to have to start thinking differently, otherwise you’re going to fail when load starts to really increase.

      • wagesof@links.wageoffsite.com
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        You could run an interstitial proxy yourself with a little health checking. The server itself doesn’t die, just the webapp/db. nginx could be stuck on there (if it’s not already there) with a temp redirect if the site is timing out.

      • Cadende@lemmygrad.ml
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        1 year ago

        A better option for a simple usecase like that is using something from your DNS provider. Depending on who you use they may have a health check service that has no access to user data that can simply ping a URL, and if it fails hard enough, start redirecting traffic to join-lemmy.org

        I think Constellix has it, though I’m not necessarily recommending them specifically