this post was submitted on 11 Jun 2023
18 points (100.0% liked)
Asklemmy
43898 readers
1202 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!
- Open-ended question
- 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.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm running my instance on 2 cores, 2GB of RAM. Of course I'm the only one on there at the moment, but it's running great, and I think it might even be fine with a single core.
As other have said, if you are planning to use it for your own "user's home instance," that should be fine. I've read a few people are running their instances on Raspberry PIs, which is pretty neat. While I have one I could use, I opted to setup a new droplet in DigitalOcean instead (I also run my own servers like you). A 2 core / 2GB RAM / 50GB SSD disk droplet on DigitalOcean is about $18 (USD) a month, while a single core droplet is about $12 (USD) per month.
If you plan to run an instance for others to use, be aware the federation is going to be chatty on your home network, and could impact other devices on your network. Probably not ideal, which is why I opted for a droplet in DigitalOcean instead.
Any recommended guides? I consider myself pretty savvy with tech as a software engineer, but Iβd really like some sort of docker image to just spin up on my unraid server. Iβm pretty lazy playing the whole sys admin roleβ¦
I'm not familiar with unraid.
I used the documentation over on join-lemmy.org to setup my instance, on ubuntu. main docs: https://join-lemmy.org/docs/en/administration/administration.html
Here are the docker specific instructions: https://join-lemmy.org/docs/en/administration/install_docker.html
It did cross my mind if I could have one of my raspberry pis run it. Actually, if it is possible I'd do on an Odroid N2+. Hmm...
How much headroom do you have left on that? I'm considering starting up a public instance and would love to get an estimate for per-user workload on a federated instance.
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, and this is all running in docker containers.
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.
Super cool, thanks
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.