Weight Management
Setting Weight Strategy
Click on the proxy "Details" to enter the details page
On the details leaf page, there is an edit button on the right side of the read weight of the master-slave database. Click this button to modify the read weight strategy.
The weight strategy includes 4 strategies: Master-slave balance, Master priority, Slave balance, Custom
Master-slave balance: is to evenly distribute the request traffic to the master and slave, at this time each proxy node's reading weight will automatically recalculate according to the number of nodes
Master priority: is to distribute all request traffic to the master, at this time the read weight of the slaves all becomes 0%
Slave balance: is to distribute all request traffic to the slaves, at this time the read weight of the master all becomes 0%
Custom: You can freely set the weight ratio of the master-slave request traffic, and all the weights of the master-slave need to add up to 100%