You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we create a normal new connection everytime instead of creating connection pool?
I did not find any way to do this.
Use case:
I am using supavisor to maintain and manage pool for us, currently I am using asyncpg and creating connection everytime since supavisor handles the connection pooling for us. It does not make sense to create and manage pool at multiple layer.
I was looking for a way to create new connection everytime, as I am facing some issue while using connectionpool (Also I dont think it will be efficient).
Open for any opinion, let me know if I am wrong somewhere.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Can we create a normal new connection everytime instead of creating connection pool?
I did not find any way to do this.
Use case:
I am using supavisor to maintain and manage pool for us, currently I am using asyncpg and creating connection everytime since supavisor handles the connection pooling for us. It does not make sense to create and manage pool at multiple layer.
I was looking for a way to create new connection everytime, as I am facing some issue while using connectionpool (Also I dont think it will be efficient).
Open for any opinion, let me know if I am wrong somewhere.
Beta Was this translation helpful? Give feedback.
All reactions