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

support cluster based on consistent hash #18

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

yanxurui
Copy link

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.

@@ -863,6 +863,7 @@ GET /t
dog not found
--- no_error_log
[error]
--- only
Copy link
Author

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.

@agentzh
Copy link
Member

agentzh commented Nov 28, 2017

@yanxurui It's better be a separate Lua library since I don't want lua-resty-memcached to depend on lua-resty-balancer.

@yanxurui
Copy link
Author

@agentzh No problem. I will maintain this feature branch in my repo.

@vitobotta
Copy link

@yanxurui Hi! Did you create a new library for this? Your fork seems out of date now. Thanks!

@vitobotta
Copy link

Actually the main library doesn't seem to have changed much since then. I will try your fork :)

@yanxurui
Copy link
Author

yanxurui commented Jun 6, 2020

@vitobotta I have not touched this code since I left my last employer. Feel free to update my repo if needed.

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

Successfully merging this pull request may close these issues.

3 participants