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
- 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
Wow, that's crazy
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.
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!)