Selecting Replica Servers with MaxScale's Read/Write Split Router
Customize load balancing algorithms. Explore options for the slave_selection_criteria parameter, including adaptive routing and least-global-connections strategies.
Criterion
Description
Using Adaptive Routing
Using Least Behind Primary
Setting the Replica Selection Criteria
[split-router]
type = service
router = readwritesplit
...
slave_selection_criteria = LEAST_GLOBAL_CONNECTIONSPreviousRouting Statements with MaxScale's Read/Write Split RouterNextUnderstanding MaxScale's Read/Write Split Router
Last updated
Was this helpful?

