[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. |