this post was submitted on 07 Jun 2023
95 points (100.0% liked)

sh.itjust.works Main Community

7733 readers
1 users here now

Home of the sh.itjust.works instance.

Matrix

founded 2 years ago
MODERATORS
 

As the reddit mods gets ready for the June 12-14 black-out, there some anticipation that an influx in user base will shift over to many of the lemmy instances as user seek out a home to post their internet memes and discuss their interests.

In anticipation of this increased volume I will be growing our current instance from

  • 16 CPU
  • 8 GB ram

to

  • 24 CPU
  • 64 GB ram

This server is currently equipped with SSDs that are configured in a raid 10 array (NVMEs will come in the next gen that get deployed)

Earlier today I also configured some monitoring that I'll be watching closely in order to have a better understanding on how the lemmy platform does under stress (for science!)

I'll be sharing graphs and some other insights in this thread for everyone that is interested. Feel free to ask anything you might be interested in knowing more of!

EDIT: I'll be posting and updating the graphs in this main post periodically! Last updated: 6:21AM ET June 12th

CPU - 48 hours

Memory - 48 hours

Network - 48 hours

Load Average - 48 hours

System Disk I/O - 48 hours

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

wow, that's much more hardware than I thought.

[–] TheDude 4 points 1 year ago (2 children)

It probably doesn't need that much but I'm curious in seeing how much It can handle until it can't I have more resources available but it would make more sense after this size to start separating the different components of Lemmy into their own individual instances across multiple servers instead of trying to scale it vertically. Might require a little more time than I have but I'll see what I can manage!

[–] [email protected] 3 points 1 year ago (1 children)

huh, interesting.

How much room is there right now for lemmy to scale horizontally?

[–] TheDude 3 points 1 year ago* (last edited 1 year ago) (1 children)

A couple hundred gigs worth of ram and around ~100 cores. I'm not sure I would want to bring it to that size without thinking first of a plan to properly maintain, manage and support.

[–] imperator 1 points 1 year ago (1 children)

Just joined. I tried a couple of instances but couldn't get signed up. Yours worked!

Could Lemmy handle having the same insurance running on multiple servers with a load balancer and database syncing?

I don't know anything, just asking lol

[–] TheDude 2 points 1 year ago (1 children)

Welcome! In short it is possible however would require some engineering to include a kubernetes deployment type. That is already more than the typical user can handle so its likely not something the lemmy developers would support themselves and would require some SREs or devop engineers to review and deploy, maintain that type of deployment themselves. That's unfortunately more time then I have to give currently.

[–] imperator 1 points 1 year ago (1 children)

Cool thanks. Was just worried about scalability (in general). As people will generally get drawn to the more popular servers. Do you have a patreon or something to allow donations for server costs?

[–] TheDude 2 points 1 year ago (1 children)

Hey @[email protected], thank you so much for wanting to show your support! I discuss donations here. In short I don't take donations currently but I am considering it for the future.

[–] imperator 1 points 1 year ago

You're welcome. Just want to make sure your server costs are covered at a minimum.

[–] FlatDuckFridays 1 points 1 year ago

I'm interested to see how this develops.

I don't have a lot of experience administrating rust apps, but usually single instances hit bottlenecks when trying to utilize resources on a large enough server.

Like others have said, I'm happy to help if there's anything you need to keep this going. I have many years of Linux and Windows admin experience, observability/instrumentation, and I can code to an extent.