this post was submitted on 29 Dec 2023
64 points (95.7% liked)

Ask Lemmy

26831 readers
1432 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

...and why is it often PAINFULLY slow to acknowledge an up/down vote or to open the reply dialog?

top 12 comments
sorted by: hot top controversial new old
[–] crsu@lemmy.world 30 points 10 months ago

I've never admined a lemmy server but rate limits are probably why it feels slow.

Federation works by each server sharing new activity with each other and rate limits help not crash the server or accidentally DOS smaller servers.

[–] Zak@lemmy.world 24 points 10 months ago* (last edited 10 months ago) (1 children)

Your server sends a message to other servers saying what you voted or replied.

A reply dialog being slow to open sounds like an issue with your client, not federation.

[–] Agrivar@lemmy.world 9 points 10 months ago (1 children)

Huh. I'm just browsing Lemmy in a Firefox tab - and the reply dialog sometimes opens right up and other times leaves me wondering if I really hit that button! I wasn't sure if that was another thing where my instance had to "ask" the federation if I could reply before giving me the dialog or something.

[–] can@sh.itjust.works 15 points 10 months ago (1 children)

As far as I understand it federation shouldn't have anything to do with commenting on your own instance but rather after when it gets sent to other instances.

[–] Bitrot@lemmy.sdf.org 6 points 10 months ago (1 children)

It doesn't. Even if you defederate with an instance, you can still comment and vote on posts from that instance that predate the defederation and people on your instance will see them, it just won't go to the original one.

[–] can@sh.itjust.works 3 points 10 months ago

it just won't go to the original one.

And for clarity it won't go to any other instances' copies either.

[–] SlowLoudEasy@r.nf 11 points 10 months ago

I have no idea how any of this works. Im just happy to be here.

[–] brenno@lemmy.brennoflavio.com.br 8 points 10 months ago

It uses activity pub, a protocol that allows servers to share content. So when you post on an instance, it became available for other instances to consume your content.

About slowness, it can be that your instance it being rate limited, or it is not powerful enough to process all its users. You can try another instance.

Activity pub documentation: https://www.w3.org/TR/activitypub/

[–] KazuyaDarklight@lemmy.world 6 points 10 months ago (1 children)

If you're replying to a community on your home server, all actions should be similar levels of responsiveness, I think replying to another servers community may involve "some" active communication with the instance? Simple way to test this, if you are replying a lot on to another servers community, since you are browsing anyway, would be to just open the server/community directly and click around, if it's feels a bit slow, then that server is overloaded by a bit and that's probably the source of your issue. Otherwise we need someone with deeper knowledge in this thread.

[–] Bitrot@lemmy.sdf.org 6 points 10 months ago (1 children)

Everything you do on your own instance is against a cached version of the original post that is saved on your instance. Your instance sends updates in the background, the other instance can be entirely down and you can still browse, comment, and vote as normal on your own. The updates will just stay local though.

[–] Valmond@lemmy.mindoki.com 3 points 10 months ago (1 children)

There seems to be a federation bug on version 0.19.x too.

My posts gets like 1-2 upvotes since I upgraded versus 10-20 before. I just hope the posts get out there...

[–] Ategon@programming.dev 2 points 10 months ago

its fixable temporarily by restarting the server

I just have a cron job set up to do that every day