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

Lemmy.World Announcements

29104 readers
11 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 [email protected] 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 2 years ago
MODERATORS
16
Lag (self.lemmyworld)
submitted 1 year ago by Pixlbabble to c/lemmyworld
 

Anyone else getting lag when posting or upvoting? Anything to mitigate this?

top 9 comments
sorted by: hot top controversial new old
[–] ZeroDrek 9 points 1 year ago (1 children)

There’s a recent post on this here: https://lemmy.world/post/90611

TLDR; They’re actively working on fixing it.

[–] Pixlbabble 5 points 1 year ago

Growing pains. Awesome to hear they're fixing it.

[–] FearTheCron 5 points 1 year ago* (last edited 1 year ago) (1 children)

They are actively working on improving the performance. Large distributed systems aren't the easiest thing to build and scale. E.g. here is where they are working on improving the compute time required to handle upvoting:

https://github.com/LemmyNet/lemmy/issues/3062

[–] Pixlbabble 3 points 1 year ago (1 children)

I'm new to this tech. Is it because of the across server action? Like sometimes when you wait for an email or a crypto to clear?

[–] FearTheCron 3 points 1 year ago

Its somewhat related, yes. Each time you do something in the web browser like upvote, that gets sent to your instance (e.g. lemmy.world). Then, the instance needs to update the other instances with that action (this is called publishing the action). Meanwhile, it needs to accept actions from other instances (these are actions that the server is subscribed to). All of these actions take server time and network so there is a queue of actions (think of this as each action standing in line waiting for its turn with the network/cpu).

You can optimize this a lot because each time you open a network connection and send something, there is some cpu and network cost above and beyond the action itself. So there are smart ways to group things together. But, the challenge is that such grouping adds delays (e.g. it may take longer for a moderator's removal of an offending comment to propagate to your server).

[–] deadcyclo 4 points 1 year ago

The post lagging seems to be front end only. So far I've had no issue simply refreshing the page when it hangs.

[–] MyOpinion 2 points 1 year ago

Yes lots of lag!

[–] wazoobonkerbrain 2 points 1 year ago* (last edited 1 year ago)

Anyone else getting lag when posting or upvoting?

Yes. When I post a comment, it lags so bad that I just open another tab to continue browsing.

[–] IanM32 1 points 1 year ago

Yes, sluggishness and timeouts. As others suggest, there are growing pains. I have faith that as the new number of users starts to stabilize, these problems will settle down.