It seems like they are down for a longer time now. How will they recover? Does longer down mean they will have to do more catching up with other instances? Can I get updates somewhere?

  • promitheas@iusearchlinux.fyi
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    On a similar note, would it be possible to have something like “sharding” where one server has multiple synched copies on several people’s machines? So lets say if one machine goes down for whatever reason there are others to still serve content? This could also help with distributing load across multiple machines so its less stressful on one, and we don’t have situations such as whats going on with lemmy.ml now, where so many users are joining it that its frequently down and subscription statuses are stuck on pending

    • dan@upvote.au
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      This is usually referred to as “high availability”, where you’d have a hot failover to swap to in case the main server goes down. This is usually implemented with a load balancer that checks if the upstream server is alive before sending requests to it. If the upstream server isn’t responding, switch to the other one.

      A load balancer could also spread the load evenly across multiple machines, at least for reads. Generally there’s far more reads than writes, and reads are more easily scalable since you can have database replicas that just need to sync in one direction.

      I don’t think Lemmy supports any of this yet though.

      The other approach is to split the large instances into multiple smaller instances. For Fediverse stuff, I don’t know which approach is considered “better”.