akka/akka-core

Use Rendezvous hashing instead of consistent hashing

Open

#17,247 opened on 2015年4月21日

GitHub で見る
 (8 comments) (0 reactions) (0 assignees)Scala (13,277 stars) (3,547 forks)batch import
3 - in progresshelp wantedt:cluster

説明

See https://en.wikipedia.org/wiki/Rendezvous_hashing

  • it is simpler, does not need virtual nodes or a ring at all
  • rebalances are uniform independently of node removal or addition
  • more flexible, for example allows consistently hashed groups, not just single nodes

It is a very nice pattern, I think we can have other good uses for it in the future.

(details on why it is better: https://en.wikipedia.org/wiki/Rendezvous_hashing#Comparison_With_Consistent_Hashing)

コントリビューターガイド

Use Rendezvous hashing instead of consistent hashing · akka/akka-core#17247 | Good First Issue