tiankonguse commented on issue #649: 支持热点情况下的一致性hash?
URL: https://github.com/apache/incubator-brpc/issues/649#issuecomment-477950527
 
 
   @GardianT 了解你的意思了。
   
   重新描述你的问题:会有某一个key突然特别热(新闻热点),这个量可能足够大到 一致性HASH对应的节点支撑不住。  
   
   这种使用小SET不好,比较浪费资源,扩容难度也较大。
   可以按照第二种设计:一致性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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to