this post was submitted on 17 Mar 2024
5 points (77.8% liked)

Aotearoa / New Zealand

1628 readers
2 users here now

Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general

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
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 6 months ago (1 children)

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.

[–] [email protected] 2 points 6 months ago (1 children)

At least federation is doing something with each action. Would be nice if they could be batched, though.

Dumb question: What happens whenever someone spins up a new instance?

[–] [email protected] 2 points 6 months ago

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.