I want to use weighted load balancing algorithm for target servers.
In my requirement,I want to change the weight of the load balancing dynamically.
If I give as given in apigee docs example,it is constant.
<TargetEndpoint name="default"> <HTTPTargetConnection> <LoadBalancer> <Algorithm>Weighted</Algorithm> <Server name="target1"> <Weight>1</Weight> </Server> <Server name="target2"> <Weight>2</Weight> </Server> </LoadBalancer> <Path>/test</Path> </HTTPTargetConnection> </TargetEndpoint>
Please suggest
Solved! Go to Solution.