Skip to content

Allow runtime updates to min and max connection pool limits #249

@rrobetti

Description

@rrobetti

Is your feature request related to a problem? Please describe.
I am the lead developer at the Open J Proxy (OJP) project which is a database proxy that removes the connection pooling from the application layer and segregates it to a remote proxy server (similarly to pgBouncer etc), we operate on top of the JDBC specification and currently support the HikariCP connection pool only, we intend to add support for Atomikos Connection pool as well for XA transactions but to do that we need to be able to resize the connection pool dynamically as per when an OJP proxy server goes down, the remaining nodes on the cluster compansate the connections lost, for example, if the cluster starts with 3 OJP servers 10 connections each (total 30) and one goes down, the remaining 2 nodes will grow their pools to 15 max each to match the original expectation until the third node comes back.

Describe the solution you'd like
I want to be able to set the min and max connection limits in Atomikos Connection pool at runtime.

Describe alternatives you've considered
We are considering using Narayana instead as a first implementation.

Additional context
N/A.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions