[MXS-3902] Limit total number of connections to backend Created: 2021-12-07  Updated: 2022-03-02  Resolved: 2022-03-02

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: None
Fix Version/s: 6.3.0

Type: New Feature Priority: Major
Reporter: Johan Wikman Assignee: Esa Korhonen
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MXS-3265 Better Connection Pooling and multipl... Closed
Sprint: MXS-SPRINT-146, MXS-SPRINT-147, MXS-SPRINT-148, MXS-SPRINT-149, MXS-SPRINT-150, MXS-SPRINT-151, MXS-SPRINT-152

 Description   

When the MaxScale pooling feature is enabled, idle connections are put to a pool from which connections are taken when needed. However, if there are no connections in the pool, then a new backend connection will always created. Consequently, the presence of the pool does not provide an upper limit for the total number of backend connections.

There are situations where providing an upper limit on the number of backend connections, while simultaneously not restricting the number of clients, is what is wanted. The pooling mechanism should be extended so that it also optionally would imply the maximum number of connections that are created.


Generated at Thu Feb 08 04:24:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.