6
submitted 10 months ago* (last edited 10 months ago) by cole to c/lemdroid

I'm sure you all have noticed the latency problems on this instance. Stage 1 of my 4 stage scaling roadmap is taking place tonight as I migrate the database to physically run closer to the machines running lemmy.

I will do a more detailed write-up on this later, but the gist is that each db operation required a new connection from lemmy, and that means a brand new SSL handshake since the db is managed elsewhere. Pooling would solve this, but lemmy does not handle a properly configured pg bouncer correctly in my testing. So the solution is move the database closer and within the private network to avoid SSL handshakes altogether.

TL;DR instance gonna go brrrr, downtime starting at 10:30pm pacific time tonight, should be done by 11:30pm

top 5 comments
sorted by: hot top controversial new old
[-] reclipse 3 points 10 months ago

Thanks for the heads-up.

[-] ImDankMom 2 points 10 months ago

Good stuff man. Just joined up here. Thanks for spinning up this instance

[-] ijeff 1 points 10 months ago

Thanks for all your hard work!

[-] cole 1 points 10 months ago

test comment please ignore

[-] cole 1 points 10 months ago
this post was submitted on 06 Jul 2023
6 points (100.0% liked)

Lemdroid

597 readers
1 users here now

Announcements and news regarding lemdro.id

founded 10 months ago
MODERATORS