Instancing of postgres with pgbouncer and pooling #1123
Unanswered
NikhilVerma
asked this question in
Q&A
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.
-
I have a question about using postgres.js instance with pgbouncer
Here is the setup:
Here is the rough code for the instance setup
I see that postgres.js handles connection pooling on it's own, But I am not certain if using instances of it would be better? It I could create an instance for each query, with
max: 1would it end up a better solution?So something like:
Beta Was this translation helpful? Give feedback.
All reactions