When this post is 48 hours old, lemm.ee will be going down for a database upgrade (Edit: upgrade complete!)

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.

tim1996,

Sunaurus Great job keep doing it!

EeeDawg101,

Whew thanks for your work sunaurus! Everything really does feel way more snappy.

PizzaDeposit,

The performance is already a lot better!

JakenVeina,

Fantastic work and fantastic results. Thank you for all your effort!

SuperSpaceFan,

The results are immediately visible in performance. Thank you @sunaurus!

kratoz29,

Yeah, I noticed that too, I was afraid this upgrade would bring more issues, but so far everything is perfect!

GrayBackgroundMusic,

Loving the new speed.

tsonfeir,
@tsonfeir@lemm.ee avatar

It’s sooo much faster now.

0ops,

Is there a place to donate? I feel like you’ve earned a few bucks from me

GrayBackgroundMusic,

Here are 2 I found on the main page sidebar.

github.com/sponsors/sunaurus

ko-fi.com/sunaurus

0ops,

Thanks!

gregorum,
Cavemanfreak,

It’s become extremely responsive compared to before! Good job :)

Nacktmull,

This is awesome! Thanks a bunch!

Pengilly,

Great! It used to take me three tries to log in, and it would take forever to load, but now I logged in almost instantly! Thanks!

Abnorc,

Things seem much improved! Good work and thank you for the work that you do.

negativenull,
shootwhatsmyname,
@shootwhatsmyname@lemm.ee avatar

That’s awesome! Are you monitoring personally or is this from somewhere public?

negativenull,

I run a bunch of small websites/tools. I setup UptimeKuma a while back to monitor my own apps. Since it’s just a simple web monitor, I can monitor any http/s URLs. I setup a lemm.ee monitor a few days ago when things were starting to get unstable.

shootwhatsmyname,
@shootwhatsmyname@lemm.ee avatar

Oh nice, thanks! I think I’m gonna go monitor everything now

TWeaK,

Wahey, the best instance just keeps getting better!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • meta@lemm.ee
  • DreamBathrooms
  • ngwrru68w68
  • thenastyranch
  • InstantRegret
  • vwfavf
  • Youngstown
  • slotface
  • hgfsjryuu7
  • Durango
  • rosin
  • kavyap
  • PowerRangers
  • mdbf
  • magazineikmin
  • Leos
  • cisconetworking
  • khanakhh
  • ethstaker
  • osvaldo12
  • modclub
  • tacticalgear
  • everett
  • normalnudes
  • GTA5RPClips
  • tester
  • cubers
  • anitta
  • provamag3
  • All magazines