# Weight Management


## Setting Weight Strategy

Click on the proxy "Details" to enter the details page
<!-- image-todo -->

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.
<!-- image-todo -->

The weight strategy includes 4 strategies: Master-slave balance, Master priority, Slave balance, Custom
<!-- image-todo -->

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
<!-- image-todo -->
<!-- image-todo -->

Master priority: is to distribute all request traffic to the master, at this time the read weight of the slaves all becomes 0%
<!-- image-todo -->
<!-- image-todo -->

Slave balance: is to distribute all request traffic to the slaves, at this time the read weight of the master all becomes 0%
<!-- image-todo -->
<!-- image-todo -->

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%
<!-- image-todo -->
<!-- image-todo -->
