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 2021/09/28 07:39:21 UTC

[GitHub] [incubator-brpc] Huixxi edited a comment on issue #1570: brpc的wr/wrr负载均衡策略增加策略降级机制

Huixxi edited a comment on issue #1570:
URL: https://github.com/apache/incubator-brpc/issues/1570#issuecomment-928935916


   > 这样可否满足要求:给wr/wrr增加一个gflag表示默认的权重值,等于0表示未设置,保持现在的处理逻辑;大于0的情况,如果节点没有带权重值,就配置成改值,这样默认权重的大小由业务自己决定。
   
   目前的内部解决方法是设置为1,然后wr和wrr在机器未配置权重的时候,降级为各自的r和rr负载均衡策略,正在准备先提个pr


-- 
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