You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/17 12:49:49 UTC

[GitHub] [dubbo] 24kpure commented on issue #8820: 为什么负载均衡负责使用ShortestResponseLoadBalance就避免了LeastActiveLoadBalance的缺点了呢?

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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org