-
Notifications
You must be signed in to change notification settings - Fork 63
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
support cluster based on consistent hash #18
base: master
Are you sure you want to change the base?
Conversation
@@ -863,6 +863,7 @@ GET /t | |||
dog not found | |||
--- no_error_log | |||
[error] | |||
--- only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo: I forgot to remove it. This bug is not exposed because lower case doesn't take effect.
@yanxurui It's better be a separate Lua library since I don't want lua-resty-memcached to depend on lua-resty-balancer. |
@agentzh No problem. I will maintain this feature branch in my repo. |
@yanxurui Hi! Did you create a new library for this? Your fork seems out of date now. Thanks! |
Actually the main library doesn't seem to have changed much since then. I will try your fork :) |
@vitobotta I have not touched this code since I left my last employer. Feel free to update my repo if needed. |
Hello, dear @agentzh
I add support of consistent hash using resty/chash. We have been using this in production for months.
I have no confidence you will merge this but still I post it here in case someone else needs it.
Thanks.