Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Connection-pool in libpqxx #699

Closed
atari83 opened this issue May 29, 2023 · 3 comments
Closed

[Question] Connection-pool in libpqxx #699

atari83 opened this issue May 29, 2023 · 3 comments

Comments

@atari83
Copy link

atari83 commented May 29, 2023

Hello!
I'm new on using libpqxx library sorry if my questions are basic.
I just wanted to know if libpqxx supports connection-pool functionally internally, or is it left to developer for implementation ?
And if there is no connection-pool in the library, is there any good implementation that you would suggest to be used ?

Thanks.

@KayEss
Copy link
Contributor

KayEss commented May 29, 2023

You should look at pgpool and pgbouncer

@jtv
Copy link
Owner

jtv commented May 29, 2023

There's no built-in connection pooling, but there are stand-alone connection pools. These are transparent proxies: to libpqxx (or any other client library) they look like they're connecting directly to postgres itself. I hear good things about pgbouncer for example.

@atari83
Copy link
Author

atari83 commented May 29, 2023

Thank you very much for responses :) I'll take a look at them.

@atari83 atari83 closed this as completed May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants