this post was submitted on 23 Jun 2023
2 points (100.0% liked)
Lemmy Administration
698 readers
1 users here now
Anything about running your own Lemmy instance. Including how to install it, maintain and customise it.
Be sure to check out the docs: https://join-lemmy.org/docs/en/administration/administration.html
If you have any problems, describe them here and we will try to help you fixing them.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I did a semi in-depth post on setting it all up here: https://reddthat.com/post/19103
To give you an idea of resources:
Database: 6.8gb Pictures: 13gb
We also use CloudFlare for CDN, as since the majority of connections was web sockets and POST requests it acts as a CDN for all our media.
CPU and RAM are well below problem numbers and will continue to do so for these numbers.
The biggest problem for me is the picture files. Not only do you have to keep all the pictures your users upload, but also all the federated pictures as well! Probably the biggest challenge people that federate.
Since pictrs (since 0.4) now has object storage support, we can migrate to a S3 capable storage finally.
As we have only been online for 2 weeks... the database will grow fast, but object storage grows even faster!
If the database gets that big every instance is going to have problems. The database in its current form has inefficiencies that the devs know about and are eventually working towards fixing.
Lemmy world posted what their server specs are, but they have had problems and scaled out their hardware because they knew they would keep their doors open.
https://lemmy.world/post/75556 - 32Core 128GB ram.
But IMHO it's complete overkill. But it might not be for their database, considering they have 7.5k active users, which is 50x what I am dealing with.
Wow, thnx for the info. I do see db issues, even for small, semi personal, instances. That might become one of the biggest issues I think.
Where are you hosted? At home or via a provider/datacenter?
Yeah VPS provider. No way I'd host it at home. Because like I said, you host pictures of all instances you are federated against.
Plus bandwidth. My server averages 1MBs and that is with CloudFlare. Couldn't imagine the bandwidth needed for a non-cdn enabled site. Especially a big one