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/05/09 09:48:04 UTC

[GitHub] [incubator-brpc] dapengbusi commented on issue #678: 关于一致性hash只支持32位key问题

dapengbusi commented on issue #678: 关于一致性hash只支持32位key问题
URL: https://github.com/apache/incubator-brpc/issues/678#issuecomment-490836339
 
 
   一致性hash,你提到的这个原因,这也是一方面原因。但我理解,一致性hash之所以选32位最大值,是因为虚拟节点个数,一般最大值也就这个。当然你也可以设置成16位的,任何你想设置的数字,但需要保证,虚拟节点对应的实体ip,分布较为均匀即可。

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