You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a mechanism to distribute load in a non-bursty way across weighted hosts.
Description:
We use least_request load balancing to distribute load evenly across hosts. This is our preferred load balancing algorithm, and it works well when all the weights are set to 1. However, we "redline" our hosts to measure the peak throughput of a single machine by steadily increasing its load balancing weight until latencies rise to an unacceptable level.
When we adjust the weight of a host, envoy distributes requests by:
If any host in the cluster has a load balancing weight greater than 1, the load balancer shifts into a mode where it randomly picks a host and then uses that host <weight> times.
This leads to bursty requests which unrealistically stress the weighted host.
So the question is, how can we simultaneously enjoy:
Provide a mechanism to distribute load in a non-bursty way across weighted hosts.
Description:
We use least_request load balancing to distribute load evenly across hosts. This is our preferred load balancing algorithm, and it works well when all the weights are set to 1. However, we "redline" our hosts to measure the peak throughput of a single machine by steadily increasing its load balancing weight until latencies rise to an unacceptable level.
When we adjust the weight of a host, envoy distributes requests by:
This leads to bursty requests which unrealistically stress the weighted host.
So the question is, how can we simultaneously enjoy:
Relevant Links:
The text was updated successfully, but these errors were encountered: