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

ketama distribution #2

Open
ktiwary opened this issue Nov 20, 2014 · 2 comments
Open

ketama distribution #2

ktiwary opened this issue Nov 20, 2014 · 2 comments

Comments

@ktiwary
Copy link

ktiwary commented Nov 20, 2014

I used the proxy for resharding based on keys pattern and it worked like a charm.
I was wondering if you can add a support for the ketama distribution too.
https://github.com/twitter/twemproxy/blob/master/src/hashkit/nc_ketama.c

Where one can give the algo name instead of key pattern to the proxy.
Eg:-
redis-resharding-proxy --master-host=redis1.srv --proxy-port=5400 --distribution=ketama --hash=murmur

@smira
Copy link
Owner

smira commented Nov 24, 2014

@ktiwary that should be fairly easy to add.

AFAIK there's no libketama in Go. There are some side projects, like this one: https://github.com/dgryski/go-ketama/

If we go some libketama in Go, I would integrate it.

@smira
Copy link
Owner

smira commented Nov 24, 2014

There's also https://github.com/ngerakines/ketama - I'm not sure which one is better, or they're identical.

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