akka/akka-core
Use Rendezvous hashing instead of consistent hashing
Aperta
#17.247 aperta il 21 apr 2015
3 - in progresshelp wantedt:cluster
Metriche repository
- Star
- (13.277 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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)