Welcome to today’s daily kōrero!
Anyone can make the thread, first in first served. If you are here on a day and there’s no daily thread, feel free to create it!
Anyway, it’s just a chance to talk about your day, what you have planned, what you have done, etc.
So, how’s it going?
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.