this post was submitted on 11 Jun 2023
11 points (92.3% liked)

Asklemmy

43835 readers
714 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

I'd like to contribute to the Lemmy community. I've been running my own private Linux servers for more than 25 years for things like email (years ago before all the spam), and as file servers, backup, etc. It's an old, not very powerful computer, running Ubuntu server, in a corner in my house. Is it worth running a Lemmy instance on such a machine? I suppose there'd also be issues of how much data is going in and out, and how that would impact my internet cable usage. Thoughts?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] slashzero@hakbox.social 3 points 1 year ago* (last edited 1 year ago) (2 children)

With just me on the system, CPU is barely ever over 2 -3%. Load average looks good. Memory usage looks fine. You know what? Let me post some graphs for the past 24 hours, which, I've pretty much been on here for 24 hours straight. Again, I'm the only user on my instance.

I've mentioned this in a few other threads, but I'm tempted to fire up jmeter and push some load through my instance just to see how it behaves if I slam the system via the API. I just don't feel like learning the internal API endpoints and all that right at this time though.

[โ€“] ndr@lemmy.world 3 points 1 year ago

Super cool, thanks

[โ€“] KonQuesting@lemmy.sdf.org 0 points 1 year ago (1 children)

Awesome, this is super helpful! I'd be using a very similar setup. It might be best to start small, invite a couple people on, and see how that memory scales. I'll be avoiding any auto-scaling unless it becomes a much bigger project.

[โ€“] slashzero@hakbox.social 1 points 1 year ago

Well, ideally each service would have their own dedicated resources to begin with. But, given all of the lemmy services + Postgres are running on 2 cores with 2GB of RAM, that's pretty impressive.

Anyway, autoscaling doesn't necessarily solve scaling issues without a lot of thought and planning. It's not always as simple as throwing more hardware at the problem, as I'm sure you already know.