this post was submitted on 13 Jun 2023
440 points (99.8% liked)
lemmy.ml meta
1406 readers
1 users here now
Anything about the lemmy.ml instance and its moderation.
For discussion about the Lemmy software project, go to [email protected].
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Is Lemmy made with horizontal scaling (a.k.a. launching more instances and have a load balancer proxy the requests to the various instances) in mind? It could help larger instances like lemmy.ml managing the load better rather than just putting it on a beefier machine.
You should be able to do that without problems. However the main bottleneck is the database, I think some people want to experiment with read replicas. However as developers we would rather focus on optimizations which will benefit everyone, not only the largest instances.
Ah awesome. The database horizontal scaling is a solved problem already luckily, especially an enterprise database like PostgreSQL has lots of options there.
Oh sure, but being able to horizontally scale shouldn't hurt small instances 😉 Personally I'd probably host a single-user instance at some point just like I do with Mastodon, so I personally don't really have a need for horizontal scaling either but it's good to think of those things.