This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Kind people of internet, I have a situation!
I use databases with asyncpg and database I'm connecting to is located 250ms away.
Every DB query ends up doing an extra 250ms round trip due to asyncpg executing a reset query on connection release back to the connection pool.
This results in a huge performance hit in my case, is there any way to return the result first and do connection release cleanups in the background? Or any other way around it?
Any help will be much appreciated.
Cheers,
Leo
All reactions