24kpure commented on issue #8820: URL: https://github.com/apache/dubbo/issues/8820#issuecomment-921770891
In my opinion, when you use leadactiveloadbalance, the only parameter that determines load balancing is `active`, so worse node will first reach the active limit. When the same volume of water is added, just like two buckets with different volumes,the small bucket will overflow. As for shortestResponseLoadBalance,the load balancing strategy is calculating `average response time `* `active`,the better node'rt is much less than an other. In fact,shortestResponseLoadBalance is still not good enough. it never reset statistical time #8441 and it depends average.Maybe you can have a look at [peakEwmaLoadBalance](https://github.com/apache/dubbo-spi-extensions/pull/68) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
