this post was submitted on 13 Mar 2024
3 points (100.0% liked)

Aotearoa / New Zealand

1658 readers
28 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
[–] flambonkscious@sh.itjust.works 2 points 8 months ago (1 children)
[–] Dave 2 points 8 months ago (1 children)

Unfortunately ActivityPub doesn't seem to support batching, so each post, reply, or vote has to be sent one at a time to every instance the community is federated with. Plus order is important for some items (e.g. if you edit a post multiple times, you need to make sure they are processed in the right order or you get out of sync).

Some smart people are looking at solutions, hopefully it's solved before everything collapses 😆.

It's unfortunately dependant on ping. When we receive an incoming federation activity, Lemmy gets info about the new thing but often then needs to send an outbound request to fetch the rest of the details. It's not until that request is complete that Lemmy can accept the next update. Until then, lemmy.world is just sitting there retrying to send the next one as Lemmy.nz won't accept it until it's done with the current one (no queue).

The further we are from Lemmy.world (distance between servers), the higher the ping and therefore the longer each post takes to process. Because we are hosted in NZ and they are hosted on the other side of the world (Europe I think?), we are disproportionately affected.

[–] flambonkscious@sh.itjust.works 3 points 8 months ago

Yeah it's quirky alright! Filed under growing pains - I'm glad my stuff isn't this complicated and believe in the brains trust (glad I didn't selfhost!)