this post was submitted on 18 Jun 2024
32 points (100.0% liked)

Mander

39 readers
2 users here now

founded 2 years ago
MODERATORS
 

The instance has been updated to version 0.19.4!

You can see the official release post and notes here: https://lemmy.ml/post/16585359?scrollToComments=true

Since this update required some manual intervention anyway to update the database version, I took the opportunity to perform some overdue server maintenance and upgrades.

I have migrated the server to a more powerful configuration, and changed the way image files are being stored and served (object storage as opposed to filesystem storage).

I am also aware of some federation issues that have affected this and other instances. I am not sure whether this upgrade will deal with these problems automatically. I will be looking into it and hopefully will implement some solution soon.

Sorry for the downtime experienced in the past few days, but hopefully with the more powerful server the experience will be smoother and will remain so for a while.

For other admins and users interested, this is a bit of information about the server


The previous configuration:

Hosting provider: serverspace.io

8 GB RAM

4 Core CPU

50 Mbps network

400 GB SSD

Cost: $55 / month

The 400 GB SSD was being used to store both the server's database and the image files, and this component in isolation had a monthly cost of $36. I have migrated the images to an object storage provider ($6/month for 500 GB), and used the resources previously used for disk space to increase the other parameters. The new configuration is a lot better and less expensive.


New configuration:

Hosting provider: serverspace.io

Object storage provider: contabo.com

16 GB RAM

6 core CPU

50 Mbps network

100 GB SSD

500 GB Object storage

Cost: $47/month

Thanks a lot to the lemmy and pict-rs devs for the hard work they put into developing the infrastructure!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 6 months ago (4 children)

Thanks!

Since the upgrade, I can see (here) that activities from lemmy.world are being fetched significantly faster. I will let it run for some time and hopefully this speed-up is enough to catch up.

[–] [email protected] 3 points 6 months ago

Great, looks promising!

You seem also to be catching up with the backlog somehow? https://grafana.lem.rocks/d/cdfzs0dwal3pca/federation-health-time-behind?orgId=1&var-instance=All&var-remote_instance=mander.xyz&var-remote_software=All&from=now-12h&to=now

Hopefully the trend will continue, let's wait a few hours and see

[–] [email protected] 1 points 6 months ago (1 children)

FYI, I just tried posting from a LW account 4 minutes, the comments still don't show up: https://lemmy.world/comment/10702133

[–] [email protected] 4 points 6 months ago (1 children)

Ah, thanks!

Hmm, I am not sure about how the queue gets filled. It might be that the instance needs to process all of the older content first.

I will give it some hours and if it does not look like it will catch up, I will look into other methods.

[–] [email protected] 2 points 6 months ago (1 children)
[–] [email protected] 5 points 6 months ago (3 children)

The instance is catching up at a rate of ~15 activities/s, and we are 2.5M activities behind. So it should take about 2 days to catch up.

I have tried fiddling with some parameters to see if this could be improved, but I did not find the right knob to tune. Best is probably to just let it run 😄

[–] [email protected] 2 points 6 months ago

The trend seems to go down at a nice pace, there's something quite satisfying to see it go down like that ha ha

[–] [email protected] 1 points 6 months ago

Does this have anything to do with the front page giving an error message? I get a lemmy server error, however I was able to log out and log back in again, and I can get to the communities page which got me back to this discussion, but even forcing a browser refresh of the front page continues to give an error message for me. FYI, ctrl-shift-R also fails, I'm not sure what else to try.

[–] [email protected] 1 points 6 months ago
[–] Bl4ze 1 points 6 months ago (1 children)

Test from a LW account to see how long it takes to show up (I posted at 18:24 GMT+1)

[–] [email protected] 1 points 6 months ago

Well it is here now! Almost caught up :-)

[–] M0oP0o 1 points 6 months ago

Yay, down to one week delay. Looking forward to catching up.