You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/11/10 09:54:47 UTC

[GitHub] [incubator-brpc] zhaojinzhou commented on issue #1980: lalb locality aware 怎么设置参数使得不同机器的qps差异更大?

zhaojinzhou commented on issue #1980:
URL: https://github.com/apache/incubator-brpc/issues/1980#issuecomment-1310032703

   > https://github.com/apache/incubator-brpc/blob/master/src/brpc/policy/locality_aware_load_balancer.cpp#L31 这里有一些参数,可以调下试试
   
   调了 punish_inflight_ratio和 min_weight 这两参数。 
   按我理解,min_weight=0就是说可能有机器的 qps约等于没有?
   punish_inflight_ratio=1就是说  只要当前的请求耗时超过平均值了就是调权重?
   
   这两参数应该是最极端的参数了。 但是似乎还是没有效果。 只是 机器见的qps 差异确实大了那么一丁点。 但也不明显。


-- 
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: dev-unsubscribe@brpc.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org