Hey folks

This is a heads up that I will be performing some maintenance and hardware upgrades on our database this Saturday.

We are currently experiencing several spikes throughout the day which cause our database to become overloaded - this results in degraded performance for many users. The spikes are happening due to a combination of continued growth of the database, some expensive periodic scheduled tasks which Lemmy runs, and fluctuating traffic patterns. Some of this can be optimized on the code level in the future, but it seems that the best way to deal with it right now is to add some additional resources to our database server.

I am intending to switch to slightly different hardware in this upgrade, and will be unable to make this switch without downtime, so unfortunately lemm.ee will be unavailable for the duration.

As our database has grown quite a bit, cloning it will most likely take a few hours, so I expect the downtime to last 2-3 hours. Sorry for the inconvenience, I am hopeful that it will be worth it and that this upgrade will significantly reduce some of our recent long page load times!


Edit: upgrade complete!

I have now migrated the lemm.ee database from the original DigitalOcean managed database service to a dedicated server on Hetzner.

As part of this migration, I have also moved all of our Lemmy servers from the DigitalOcean cloud to Hetzner’s Cloud. I always want the servers to be as close as possible to the database, in order to keep latencies low. At the same time, I am very interested in having the ability to dynamically spin up and down servers as needed, so a cloud-type solution is really ideal for that. Fortunately, Hetzner allows connecting cloud servers to their dedicated servers through a private network, so we are able to take advantage of a powerful dedicated server for the database, while retaining the flexibility of the cloud approach for the rest of our servers. I’m really happy with the solution now.

In terms of results, I am already seeing far better page load times and far less resource use on the new hardware, so I think the migration has been a success. I will keep monitoring things and tuning as necessary.

  • vsh
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    31
    ·
    edit-2
    8 months ago

    Removed by mod

      • vsh
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        17
        ·
        edit-2
        8 months ago

        Removed by mod

        • TexMexBazooka
          link
          fedilink
          arrow-up
          11
          arrow-down
          1
          ·
          edit-2
          8 months ago

          Just rooty toot your ass on to another instance then. Or spin up your own.

          • vsh
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            10
            ·
            edit-2
            8 months ago

            Removed by mod

            • TexMexBazooka
              link
              fedilink
              arrow-up
              11
              arrow-down
              1
              ·
              8 months ago

              As stated, spin up your own, show us how it’s done. You get no compensation, and you better fucking get it right.

              • vsh
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                10
                ·
                edit-2
                8 months ago

                Removed by mod

                • TexMexBazooka
                  link
                  fedilink
                  arrow-up
                  8
                  arrow-down
                  1
                  ·
                  8 months ago

                  Yeah it’s a threat, make your own flawless instance or I’ll make fun of you on the internet.

                  Pft

                  • vsh
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    arrow-down
                    8
                    ·
                    edit-2
                    8 months ago

                    Removed by mod

            • SheeEttin
              link
              fedilink
              English
              arrow-up
              5
              arrow-down
              1
              ·
              8 months ago

              Yes, things like Lemmy are literally a luxury.

              • vsh
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                5
                ·
                edit-2
                8 months ago

                Removed by mod

        • sunaurusOPMA
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          8 months ago

          How did you get access to my webcam?

        • Neve8028
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          8 months ago

          It literally doesn’t matter if people know or not. As long as things run smoothly, it’s fine.

          • vsh
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            5
            ·
            edit-2
            8 months ago

            Removed by mod

    • Bishop@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      8 months ago

      It’s a ploy to get you specifically to leave as he hopes you’ll think he’s got crap hardware. If you stop posting here it’s worked so just stay and don’t let him win! We NEED YOU here!

      • vsh
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        15
        ·
        edit-2
        8 months ago

        Removed by mod