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

Add connection pool #25

Open
puzpuzpuz opened this issue Apr 1, 2024 · 0 comments
Open

Add connection pool #25

puzpuzpuz opened this issue Apr 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@puzpuzpuz
Copy link
Contributor

Many of our users write to QuestDB as a part of HTTP request processing. The simplest way to do that is to open a new connection on each HTTP request, but this has high overhead and also puts no limit on the number of active connections. We should implement a connection pool similar to the pg's one: https://github.com/brianc/node-postgres/blob/b03c071d2d15af259e1e008e9628191c865e58fa/packages/pg-pool/index.js

@puzpuzpuz puzpuzpuz added the enhancement New feature or request label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant