3
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 22 Dec 2024
3 points (71.4% liked)
Meta (lemm.ee)
3623 readers
2 users here now
lemm.ee Meta
This is a community for discussion about this particular Lemmy instance.
News and updates about lemm.ee will be posted here, so if that's something that interests you, make sure to subscribe!
Rules:
- Support requests belong in !support
- Only posts about topics directly related to lemm.ee are allowed
- If you don't have anything constructive to add, then do not post/comment here. Low effort memes, trolling, etc is not allowed.
- If you are from another instance, you may participate in discussions, but remain respectful. Realize that your comments will inevitably be associated with your instance by many lemm.ee users.
If you're a Discord user, you can also join our Discord server: https://discord.gg/XM9nZwUn9K
Discord is only a back-up channel, !meta@lemm.ee will always be the main place for lemm.ee communications.
If you need help with anything, please post in !support instead.
founded 2 years ago
MODERATORS
I can see this post from
.world
. Federation looks to be pretty close to in-sync (those activities behind values are only estimates since not necessarily all of those would be bound forlemm.ee
). In my experience, "activities behind" value from.world
less than 500 is as pretty close to fully in sync as you can really get (sometimes it drops lower, but average for me is 200-500).Do you have a specific post/comment link that isn't showing up on
.world
?fwiw, the estimate number only states the max amount of activities behind. the real number can be lower, but not higher (unless sending is entirely broken on the instance being checked).
each activity being sent has a numeric id in the database. lemmy has an api that returns the id of the last activity that was either successfully sent to an instance or skipped when it didn't need to get sent (e.g. pm to a user on a different instance). there may also be holes in activity ids due to postgres implementation details for auto-incrementing sequence ids.
for determining the highest known activity id to compare it with the last activity id sent to a specific instance, you can just go through the successfully sent ids for all instances in the response and find the highest number across them all. then you can calculate the difference between the highest number and the number for the specific instance.
depending on the lemmy version and timing of the action, it can take up to 30 seconds for the activity queue to deal with new activities, so on a somewhat busy instance the delta is likely rarely going to be zero.
!3dprinting@lemmy.world
I had to resolve the post, but it's there now.
I don't notice a lot of stuff disappearing during federation with LW, but when I do notice it, I just un-upvote my comment and re-upvote it. Seems to kick it in gear. Never tried that with posts, but might work similarly.