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

Feature Request: Connection Pool Request Queue #36

Open
edward-coombes-nuodb opened this issue May 31, 2022 · 1 comment
Open

Feature Request: Connection Pool Request Queue #36

edward-coombes-nuodb opened this issue May 31, 2022 · 1 comment

Comments

@edward-coombes-nuodb
Copy link
Contributor

When using the connection pool, when the hard limit is reached an error is generated. Another potential option for this would be implementing a connection request queue. When there are no connections to be distributed, the request would be added to a queue, and a promise for a connection returned. As connections are released back into the pool they would be given to requests in the queue in FIFO order.

@dwhite-nuodb
Copy link
Contributor

Currently we only throw an exception when the hard limit is reached, or we allow the connection pool to expand on demand, so this feature would offer an alternative approach to handle over capacity demand. It is not scheduled for a release, but will get consideration for planning as demand for certain use cases dictate.

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

2 participants