this post was submitted on 14 Jun 2023
5 points (100.0% liked)

Beehaw Support

2797 readers
25 users here now

Support and meta community for Beehaw. Ask your questions about the community, technical issues, and other such things here.

A brief FAQ for lurkers and new users can be found here.

Our September 2024 financial update is here.

For a refresher on our philosophy, see also What is Beehaw?, The spirit of the rules, and Beehaw is a Community


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.


if you can see this, it's up  

founded 2 years ago
MODERATORS
 

Sending comments sometimes takes actual minutes and loading the site takes a bit long too... is this due to the Reddit migration or cuz I'm european?

you are viewing a single comment's thread
view the rest of the comments
[–] CinnamonTheCat@beehaw.org 4 points 1 year ago (1 children)

signing up is fine, it just takes a bit to be accepted but replies feels slow

[–] towerful@beehaw.org 3 points 1 year ago (1 children)

As a European, I've found beehaw snappy and responsive in the morning.
Between 14.00-16.00 it starts slowing down.
I've noticed this across a lot of instances as well.
I think it's just the surge of NA users

[–] CinnamonTheCat@beehaw.org 3 points 1 year ago (1 children)

Maybe we need more servers up when NA happens?

[–] towerful@beehaw.org 5 points 1 year ago (1 children)

Unfortunately, a Lemmy instance currently scales vertically.

To stop an instance from being overloaded, it needs more CPU/RAM on a single server.

Lemmy's horizontal scaling comes from more instances federating with eachother. Which is why there are a lot of comments and posts about "please pick a quiet instance".

I know people are trying to get a single instance to work across multiple servers, which would allow for load balancing and dynamic scaling.
However, at the scale Lemmy is currently operating at: throwing bigger hardware at it is easier than getting Lemmy to autoscale and use more hardware.
I imagine in a month or so, solutions will be developed to make horizontal scaling more accessible.

[–] CinnamonTheCat@beehaw.org 1 points 1 year ago (1 children)

Do the protocols lemmy uses not allow for that?

[–] towerful@beehaw.org 3 points 1 year ago

The protocols Lemmy uses rely on additional instances and federation to scale horizontally.
That's kind of the point of the fediverse. There shouldn't be big instances.

The issue is a lot of users want to be on the busy instances.
Whilst it shouldn't matter which instance you actually join and use, some instances might have community/moderation that aligns with how you want to experience Lemmy (eg beehaw)

Lemmy hasn't been developed for a single instance to scale horizontally. Throwing bigger hardware at it is the correct way to implement scaling when a project is this size/maturity.

Having stateless middleware, running caches, sharding databases, database replication, read/write load balancing on databases, having the actual front end load balancers....
It's a difficult problem. Companies have entire teams that work on this, and it requires a lot of skill and attention to keep all the parts working correctly, and ensure things are fault tolerant.
Most instances are run by volunteers and community funding.

Like I said, hopefully Lemmy will move to a format that allows for easier scaling. But it's a lot of work.
There is probably more value in squashing bugs, improving user experience, adding some well-needed features, and any optimizations they find along the way - than there is in rebuilding the stack to support horizontal scaling.

Remember, Lemmy has a core team of 2 developers.
And this massive influx of users became apparent at the start of this month.
It's going to take some time, and things will be rough round the edges.