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

[Feature] Can LB support consistent hashing? #3428

Open
dandyhuang opened this issue Sep 24, 2024 · 2 comments
Open

[Feature] Can LB support consistent hashing? #3428

dandyhuang opened this issue Sep 24, 2024 · 2 comments
Labels

Comments

@dandyhuang
Copy link

Supported implementations:

wrr : Weighted round robin (Kratos Client 内置默认算法)
p2c : Power of two choices
random : Random

@clement2026
Copy link

@dandyhuang Would you describe some of your scenarios where you need a consistent hashing LB policy. This will give us a better understanding of the background and the motivation for implementing it.

@dandyhuang
Copy link
Author

@clement2026 You can understand it as distributing some of the user's redis data and cache to different machines.

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

No branches or pull requests

2 participants