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/10/11 12:55:04 UTC
[GitHub] [incubator-brpc] xuqinhaow opened a new issue, #1953: cmurmur负载均衡算法流量不均匀
xuqinhaow opened a new issue, #1953:
URL: https://github.com/apache/incubator-brpc/issues/1953
发现在用的brpc,使用的cmurmur一致性算法,每台实例上的流量不均匀,差了一倍,导致线上负载有问题,问下怎么解决
--
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.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
[GitHub] [incubator-brpc] xuqinhaow commented on issue #1953: cmurmur负载均衡算法流量不均匀
Posted by GitBox <gi...@apache.org>.
xuqinhaow commented on issue #1953:
URL: https://github.com/apache/incubator-brpc/issues/1953#issuecomment-1281757567
感觉不是,跑了下ip的一致性hash,算了下node的range值,抖动幅度挺大的,看着和线上流量基本match
--
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
[GitHub] [incubator-brpc] wwbmmm commented on issue #1953: cmurmur负载均衡算法流量不均匀
Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1953:
URL: https://github.com/apache/incubator-brpc/issues/1953#issuecomment-1278684086
是不是传入的request code本身不均匀
--
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
[GitHub] [incubator-brpc] wwbmmm commented on issue #1953: cmurmur负载均衡算法流量不均匀
Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1953:
URL: https://github.com/apache/incubator-brpc/issues/1953#issuecomment-1281850793
>
> 这是ip node节点之间的差值
这个图的横纵坐标分别是什么含义?
--
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
[GitHub] [incubator-brpc] xuqinhaow commented on issue #1953: cmurmur负载均衡算法流量不均匀
Posted by GitBox <gi...@apache.org>.
xuqinhaow commented on issue #1953:
URL: https://github.com/apache/incubator-brpc/issues/1953#issuecomment-1281865038
横坐标是node节点:1,2,3,4...,纵坐标是相邻节点hash值的差值,可以理解是每个节点负责的区间大小
--
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
[GitHub] [incubator-brpc] wwbmmm commented on issue #1953: cmurmur负载均衡算法流量不均匀
Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1953:
URL: https://github.com/apache/incubator-brpc/issues/1953#issuecomment-1281901638
> 横坐标是node节点:1,2,3,4...,纵坐标是相邻节点hash值的差值,可以理解是每个节点负责的区间大小
了解。
你应该这样统计:将hash环上每一个区间,累计到所属的实例上。如果每个实例的累计结果差不多,就说明是均匀的。
--
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
[GitHub] [incubator-brpc] xuqinhaow commented on issue #1953: cmurmur负载均衡算法流量不均匀
Posted by GitBox <gi...@apache.org>.
xuqinhaow commented on issue #1953:
URL: https://github.com/apache/incubator-brpc/issues/1953#issuecomment-1281757655
<img width="1488" alt="image" src="https://user-images.githubusercontent.com/13250405/196327173-a679fa0d-ecce-4732-bc5c-c65538b8994e.png">
--
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
[GitHub] [incubator-brpc] xuqinhaow commented on issue #1953: cmurmur负载均衡算法流量不均匀
Posted by GitBox <gi...@apache.org>.
xuqinhaow commented on issue #1953:
URL: https://github.com/apache/incubator-brpc/issues/1953#issuecomment-1281923991
是这样的,从实际的使用看不太均匀的,模拟的还没做
--
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
[GitHub] [incubator-brpc] xuqinhaow commented on issue #1953: cmurmur负载均衡算法流量不均匀
Posted by GitBox <gi...@apache.org>.
xuqinhaow commented on issue #1953:
URL: https://github.com/apache/incubator-brpc/issues/1953#issuecomment-1281757965
> <img alt="image" width="1488" src="https://user-images.githubusercontent.com/13250405/196327173-a679fa0d-ecce-4732-bc5c-c65538b8994e.png">
这是ip node节点之间的差值
--
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