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/07/05 09:16:18 UTC
[GitHub] [incubator-brpc] ZhihaoPan commented on issue #1827: wrr在上游节点很多同时频繁调权的情况下会出现QPS的抖动
ZhihaoPan commented on issue #1827:
URL: https://github.com/apache/incubator-brpc/issues/1827#issuecomment-1174822633
>
感觉和ns关系不大,我看每次如果有remain_server.id != server_list[pos].id 就会把remain_server.weight置0,那这时候就相当于从某个position的0位置开始按stride走,这时候的概率就不是权重的概率了吧。
我们服务权重变更很频繁,下游假设只有3个节点 权重为(110, 93, 87) stride为107,某一时刻权重微调,server_list顺序变了,那么按照现在逻辑remain_server.weight置0,都从pos的起始点走,那走到110上的概率接近2/3了吧。 我们上游节点有一百个,这种抖动现象就很明显
--
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