Updated readwritesplit default values
The combination of only one slave being used and the slave_selection_criteria being LEAST_CURRENT_OPERATIONS can possibly cause a connection pileup on one slave server. This would skew the query distribution heavily towards the first available slave even if multiple slave were being used. Having the maximum number of slave servers to be equal to the total amount of available slaves allows for a more even and responsive distribution of the query traffic.
This commit is contained in:
@ -52,7 +52,7 @@ passwd=<password>
|
||||
|
||||
### `max_slave_connections`
|
||||
|
||||
**`max_slave_connections`** sets the maximum number of slaves a router session uses at any moment. Default value is `1`.
|
||||
**`max_slave_connections`** sets the maximum number of slaves a router session uses at any moment. The default is to use all available slaves.
|
||||
|
||||
max_slave_connections=<max. number, or % of available slaves>
|
||||
|
||||
|
Reference in New Issue
Block a user