this post was submitted on 12 Jun 2023
43 points (100.0% liked)

Lemmy.World Announcements

29042 readers
1 users here now

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news ๐Ÿ˜

Outages ๐Ÿ”ฅ

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to info@lemmy.world e-mail.

Report contact

Donations ๐Ÿ’—

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 1 year ago
MODERATORS
 

At the time of writing, Lemmyworld has the second highest number of active users (compared to all lemmy instances)

Also at the time of writing, Lemmyworld has >99% uptime.

By comparison, other lemmy instances with as many users as Lemmyworld keep going down.

What optimizations has Lemmyworld made to their hosting configuration that has made it more resilient than other instances' hosting configurations?

See also Does Lemmy cache the frontpage by default (read-only)? on !lemmy_support@lemmy.ml

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 314xel@lemmy.world 0 points 1 year ago (1 children)

Correct. Lemmy is a monolithic application, so there's only so much a server upgrade can do.

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

Lemmy is a monolithic application, so there's only so much a server upgrade can do.

This is sort of true, but not really true. The default docker setup is comprised of 4 containers. I've seen admins report that two of those containers (lemmy and lemmy-ui) can be horizontally scaled just fine. The pict-rs and postgres containers can currently only be vertically scaled, but Postgres natively supports scaling read load.at least through read-replicas, and there's an incomplete proposal to support scaling reads through separate db connections.

All of which is to say, it's possible to throw 4-6 machines at a Lemmy install. It's not truly a single-procees monolith. Would the Lemmy code be able to productively use all that hardware? I dunno. It's scaled better tombig hardware on lemmy.world than I would have predicted last week, maybe it can fully utilize a 6 machine setup, or maybe the db falls over first and you need to fix performance bugs because sn instance can scale to the user counts necessary to support bigger hardware setups.