Question about Least Loaded loadbalancing rule #5920
-
Hello, I have implemented lead-loaded load balancing algorithm but had two questions on the same
Power of Two Choices (P2C): Least Loaded
Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@ajayt77 Using number of requests will not be the same as number of connections. There could be a small number of very chatty clients resulting in many outstanding requests, or a large number of idle clients resulting is few outstanding requests. For testing I'd recommend looking at one of demo apps slow_cooker and changing the default settings to ones that are helpful to you. You can use any of Linkerd's observability tools to get an idea about requests and connections. In particular, check out the |
Beta Was this translation helpful? Give feedback.
@ajayt77 Using number of requests will not be the same as number of connections. There could be a small number of very chatty clients resulting in many outstanding requests, or a large number of idle clients resulting is few outstanding requests.
For testing I'd recommend looking at one of demo apps slow_cooker and changing the default settings to ones that are helpful to you. You can use any of Linkerd's observability tools to get an idea about requests and connections. In particular, check out the
linkerd diagnostics proxy-metrics
command.