Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MurmurHash instead of MD5 as sharding hashing algorithm ... #15

Closed
yaourt opened this issue Sep 14, 2010 · 1 comment
Closed

MurmurHash instead of MD5 as sharding hashing algorithm ... #15

yaourt opened this issue Sep 14, 2010 · 1 comment

Comments

@yaourt
Copy link
Contributor

yaourt commented Sep 14, 2010

May I propose to use MurmurHash instead of MD5 for Ketama hash algorithm ?

MD5 avalanche behavior is OK, but under heavy load, it could become slow and / or too consuming ...
MurmurHash is not a crypto hash function, but is really fast and had a very good avalanche behavior.

There is already an open source (public domain) Java implementation here : http://dmy999.com/article/50/murmurhash-2-java-port

General info available here : http://en.wikipedia.org/wiki/MurmurHash

Regards

@xetorthio
Copy link
Contributor

Done and pushed to master branch! Thanks a lot for this wonderful idea!
Just love murmure hash!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants