this post was submitted on 17 Mar 2024
5 points (77.8% liked)
Aotearoa / New Zealand
1656 readers
38 users here now
Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general
- For politics , please use !politics@lemmy.nz
- Shitposts, circlejerks, memes, and non-NZ topics belong in !offtopic@lemmy.nz
- If you need help using Lemmy.nz, go to !support@lemmy.nz
- NZ regional and special interest communities
Rules:
FAQ ~ NZ Community List ~ Join Matrix chatroom
Banner image by Bernard Spragg
Got an idea for next month's banner?
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've just posted this post to update on the status of federation with Lemmy.world.
Here's the TL;DR:
This is specifically for lemmy.world content being sent to lemmy.nz, so if your account is on another instance it may not affect you (but might - at it's peak there were 100+ affected instances, and now there are still 20 that haven't recovered).
Sometimes federation seems as wasteful as blockchain…
Haha well block chain is intended to use as much processing as possible, it's basically doing extra for (almost) no reason as a feature.
At least federation is doing something with each action. Would be nice if they could be batched, though.
I think some of the issue is Lemmy's immaturity. Lemmy.world spends a lot of time sending updates that are rejected because lemmy.nz is still busy with other requests. More mature software like Mastodon will handle concurrent requests and I assume queue them as well.
We also have a little extra problem where we have down votes. Mastodon has likes, but you either receive a like request or an undo like request. Lemmy has additional items where it can be a like, undo like, down vote, undo down vote, and it's possible to also go from upvote to down vote, skipping the undo. This makes it really important the order is right, so you get the right end state. There are people much smarter than I talking in the issue about how to solve the issue, but no clear consensus yet.
Dumb question: What happens whenever someone spins up a new instance?
Nothing, initially.
When a user subscribes to a community on another instance, the user's instance (let's say lemmy.new) asks the community instance (let's say lemmy.world) to send them updates (the instance doesn't get anything for a community where there are no local subscribers).
From this point forward, if lemmy.world is sending out federation activities for that community, it will send the update to lemmy.new as well.
If you're wondering about the years of history on that community, it's not federated to the new instance. The new instance only has the posts grabbed at the point of initial subscription of the first subscriber (a few pages of posts, unsure of the exact criteria), then any going forward. Not the history, which it will probably never have.
I believe you can grab a specific post by taking the URL from the host instance (lemmy.world, in the example) and searching for it on the new instance (lemmy.new), but this would only retrieve that specific post and I believe no comments.
There's no widescale backfilling of previous posts and comments.