[JBoss JIRA] (AG-69) Pool-less mode
by Luis Barreiro (Jira)
[ https://issues.jboss.org/browse/AG-69?page=com.atlassian.jira.plugin.syst... ]
Luis Barreiro closed AG-69.
---------------------------
> Pool-less mode
> --------------
>
> Key: AG-69
> URL: https://issues.jboss.org/browse/AG-69
> Project: Agroal
> Issue Type: Feature Request
> Components: pool
> Reporter: Jesper Pedersen
> Assignee: Luis Barreiro
> Priority: Major
> Fix For: 1.6
>
>
> In scenarios where multiple pools access the same data source instance you may end up in a situation where the combined number of max-pool-size is greater than the maximum number of connections in the data source.
> Introduce a pool-less mode, where the underlying connection is closed upon return to the pool if the pool size is greater than min-pool-size.
> This will allow you to configure Agroal to
> {{.mode("pool-less").minSize(0).maxSize(1)}}
> that only use 1 connection that is returned upon close. This is especially useful for service-mesh scenarios where each service is short-lived, and process one transaction.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (AG-117) Expose configuration option for ConnectionWrapper.trackStatements
by Luis Barreiro (Jira)
[ https://issues.jboss.org/browse/AG-117?page=com.atlassian.jira.plugin.sys... ]
Luis Barreiro closed AG-117.
----------------------------
> Expose configuration option for ConnectionWrapper.trackStatements
> -----------------------------------------------------------------
>
> Key: AG-117
> URL: https://issues.jboss.org/browse/AG-117
> Project: Agroal
> Issue Type: Bug
> Components: pool
> Affects Versions: 1.5
> Reporter: John O'Hara
> Assignee: Luis Barreiro
> Priority: Major
> Fix For: 1.6
>
>
> Please can we expose a configuration option for io.agroal.pool.wrapper.ConnectionWrapper.trackStatements?
> At present, the default behaviour is to track prepared statements and close all statements when a connection is returned to the connection pool. There are instances when we do not wish to close prepared statements, when we wish to reuse prepared statements
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months