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 2020/12/26 15:15:14 UTC

[GitHub] [incubator-brpc] serverglen opened a new pull request #1314: implement weighted randomized load balancer #1254

serverglen opened a new pull request #1314:
URL: https://github.com/apache/incubator-brpc/pull/1314


   implement weighted randomized load balancer


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

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] serverglen commented on pull request #1314: implement weighted randomized load balancer #1254

Posted by GitBox <gi...@apache.org>.
serverglen commented on pull request #1314:
URL: https://github.com/apache/incubator-brpc/pull/1314#issuecomment-866456327


   > 1.可以简单描述一下这个需求吗,方便我们理解。
   > 3.为什么?
   
   1. 比如:百度内部语音业务解码器需要GPU机器,但是GPU卡型号,几卡等,直接影响服务的处理能力,所以需要根据机器的配置分配不同的访问权重
   3. 我理解wr和wrr不冲突,相当于加强版的random算法,而且这也是一种常见的负载均衡算法。


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

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] serverglen commented on pull request #1314: implement weighted randomized load balancer #1254

Posted by GitBox <gi...@apache.org>.
serverglen commented on pull request #1314:
URL: https://github.com/apache/incubator-brpc/pull/1314#issuecomment-825483664


   @jamesge @zyearn @chenzhangyi @TousakaRin 辛苦各位大神抽空评审下哈,多谢啦!


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

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] serverglen commented on pull request #1314: implement weighted randomized load balancer #1254

Posted by GitBox <gi...@apache.org>.
serverglen commented on pull request #1314:
URL: https://github.com/apache/incubator-brpc/pull/1314#issuecomment-751545606


   #1254 


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

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] chenzhangyi merged pull request #1314: implement weighted randomized load balancer #1254

Posted by GitBox <gi...@apache.org>.
chenzhangyi merged pull request #1314:
URL: https://github.com/apache/incubator-brpc/pull/1314


   


-- 
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] serverglen commented on pull request #1314: implement weighted randomized load balancer #1254

Posted by GitBox <gi...@apache.org>.
serverglen commented on pull request #1314:
URL: https://github.com/apache/incubator-brpc/pull/1314#issuecomment-872977666


   > 1.可以简单描述一下这个需求吗,方便我们理解。
   > 3.为什么?
   
   辛苦各位大佬抽时间看下这个PR哈,wr负载均衡算法在百度内部已经上线并验证过了。多谢啦!
   @zyearn @chenzhangyi @jamesge 


-- 
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] serverglen commented on pull request #1314: implement weighted randomized load balancer #1254

Posted by GitBox <gi...@apache.org>.
serverglen commented on pull request #1314:
URL: https://github.com/apache/incubator-brpc/pull/1314#issuecomment-862053786


   > Hi, 可以描述一下这个PR的一些情况吗?
   > 
   > * 背景(比如实际场景是什么)
   > * 要解决什么问题
   > * 为什么wrr不能解决问题
   > * 真实场景的落地情况
   > 
   > Thanks.
   
   1. 百度内部有的业务线有wr的需求
   2. 百度内部有的业务线有wr的需求
   3. 我理解wr也是需要的
   4. 百度内部已经上线了,目前没有收到异常反馈


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

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 pull request #1314: implement weighted randomized load balancer #1254

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on pull request #1314:
URL: https://github.com/apache/incubator-brpc/pull/1314#issuecomment-872659963


   > 1.可以简单描述一下这个需求吗,方便我们理解。
   > 3.为什么?
   
   由于rr和wrr都是基于TLS实现轮询的,在用户pthread数量很多的场景下,容易出现负载不均衡,这时使用random/wr可以达到更好的负载均衡的效果


-- 
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] zyearn commented on pull request #1314: implement weighted randomized load balancer #1254

Posted by GitBox <gi...@apache.org>.
zyearn commented on pull request #1314:
URL: https://github.com/apache/incubator-brpc/pull/1314#issuecomment-825857003


   Hi, 可以描述一下这个PR的一些情况吗?
   * 背景(比如实际场景是什么)
   * 要解决什么问题
   * 为什么wrr不能解决问题
   * 真实场景的落地情况
   
   Thanks.


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

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