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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 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).