this post was submitted on 12 Apr 2025
40 points (100.0% liked)

Meta

660 readers
5 users here now

Discussion about the aussie.zone instance itself

founded 2 years ago
MODERATORS
top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 day ago (2 children)

Sounds good... Could I ask for the TLDR for those of us who are new here and don't know much about the Lemmy-verse and backend?

[–] [email protected] 6 points 1 day ago* (last edited 14 hours ago)

Basically, Lemmy works by having a whole.bunch of different server-computers chitchat to each other. Hence how I can post a reply to you, even though you're on Aussie.zone, and I'm on Lemmy.world.

The problem was that because Lemmy.world was big, and there were a lot of people in Aussie.zone who had feeds over there, Lemmy.world couldn't fire stuff off quickly enough.

Analogically, you're basically getting a telegram to your house every day, saying what's on the news. Except that there are a lot of people, so the telegraph operator can't write and send the telegrams out quickly enough, and the message started backing up.

Lemmy.world basically enabled multi-threaded sending, which works like hiring more telegraph operators. While they could now keep up, there was still a huge amount of backlog that they had to send.

It's only until this post that they finally caught up.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

Lemmy works by sending a message between servers, waiting for an OK, sending another message, waiting for an OK, etc.

That means if servers are on opposite sides of the world and it takes 0.2 seconds to send a message and get an acknowledgement, you have a hard limit of 5 messages that can be sent per second, even if they're both on 100 gigabit links.

Lemmy.world was sending aussie.zone about 16,000 messages per hour, which is about 4.5 per second. So around 220 ms per message. And it wasn't keeping up.

Now lemmy.world has... it looks like two separate connections sending messages to aussie.zone, so it can have two messages in flight at a time.

Since that started we've been getting two days worth of messages per day, and now we're caught up.

[–] [email protected] 2 points 1 day ago

Hmmm. Is that a good thing?

😜

[–] [email protected] 8 points 2 days ago

Ha just finished watching a movie and was going to post this, you beat me :)

[–] [email protected] 8 points 2 days ago (2 children)

Oh, did they turn on the multi-threaded (?) processing thing? Either way, that's a pretty quick catchup based on that graph!

[–] [email protected] 7 points 2 days ago

Yeah, it's been running at around double speed the last few days, so about 5 days to catch up with 5 days of lag:

[–] [email protected] 4 points 2 days ago