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 2019/03/27 03:57:46 UTC

[GitHub] [incubator-brpc] tiankonguse commented on issue #649: 支持热点情况下的一致性hash?

tiankonguse commented on issue #649: 支持热点情况下的一致性hash?
URL: https://github.com/apache/incubator-brpc/issues/649#issuecomment-476962335
 
 
   1. 增大虚拟节点的个数, 可以降低热点集中在一个节点的概率
   
   2. 如果某一个单Key是热点,那不断如何增加虚拟节点数,单key的热点都不可能被均摊
   
   此时有两个方法
   1. 多个一致性hash环
   2. 只有一个一致性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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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