[MXS-2350] On-demand connection creation Created: 2019-02-25  Updated: 2019-03-13  Resolved: 2019-03-13

Status: Closed
Project: MariaDB MaxScale
Component/s: readwritesplit
Affects Version/s: None
Fix Version/s: 2.4.0

Type: New Feature Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

When a new readwritesplit session starts, it opens connections to all available servers up to the configured limit. This causes extra overhead for short-lived connections that only use a single server.

By opening new connections only when they are needed we limit the overhead that they introduce. The routing algorithm should also favor already opened connections over opening new connections to prevent the delay caused by the connection creation.



 Comments   
Comment by markus makela [ 2019-03-13 ]

Added the lazy_connect feature.

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