[Solved] Update on the lemmy.world federation situation with lemmy.dbzer0.com

2 years ago by db0 to c/div0

Follow-up from https://lemmy.dbzer0.com/post/15792108

I've spent a ton of hours trying to troubleshoot why lemmy.dbzer0.com is falling behind lemmy.world in federation. We have a good idea where it's going wrong, but we have no idea why.

The problem is that once I receive an apub sync from l.w and send the request to the lemmy backend, it takes about 1 second to process an apub sync, which is way too long (is should typically be < 100ms).

We had a look at the DB and it was somewhat slow due to syncing commits to disk. OK we disabled that, and now it's much faster (and less safe but whatever) but the sync times have not improved at all.

I've also made a lot of tests to ensure the problem is not coming from my loadbalancers and I am certain I've removed them from the equation. The issue is somewhere within the lemmy docker stuff and/or the postgresql DB.

Unfortunately I'm relying solely on other admins help on matrix, and at this point I'm being asked to recompile lemmy from scratch or deploy my own docker container with more debug instructions. Neither of these is within my skillset, so I'm struggling to make progress on this.

In the meantime we're falling further and further behind in the lemmy.world federation queue, (along with a lot of other instances). To clarify, the problem is not lemmy.world. It takes my instance the same time to receive apub syncs from every other server. It's just that the other servers don't have as much traffic so 1/s is enough to keep up. But lemmy.world has so much constant changes, 1/s is not nearly fast enough.

I'm continuing to dig on this as much as I can. But I won't lie that I could use some help.

I'll keep you all updated in this thread.

load all comments
Painfinity 21 points 2 years ago

Have you tried simply uninstalling and reinstalling?

I'll see myself out...

path: 0 8213994, hotness: undefined, score: 21, children: 4
Martineski 9 points 2 years ago

Imo we should make a brand new instance to start clean.

path: 0 8213994 8214130, hotness: undefined, score: 9, children: 3
BananaOnionJuice 21 points 2 years ago

We will call it dbzer1.com, it will be much better with hookers and blackjack!

path: 0 8213994 8214130 8215148, hotness: undefined, score: 21, children: 2
Painfinity 6 points 2 years ago

Why stop there, we could make a religion out of this!

path: 0 8213994 8214130 8215148 8215337, hotness: undefined, score: 6, children: 1
wahming 12 points 2 years ago

Probably a good idea to stop after several dozen iterations. dbsixty9.com sounds promising!

path: 0 8213994 8214130 8215148 8215337 8215401, hotness: undefined, score: 12, children: 0
div0
div0

@lemmy.dbzer0.com

login for more options
2218
245
1263

Meta community. Discuss about this lemmy instance or lemmy in general.

Service Uptime view

go to feed...