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

您好,请问freecache如何解决哈希倾斜问题 #109

Open
lypee opened this issue May 28, 2022 · 3 comments
Open

您好,请问freecache如何解决哈希倾斜问题 #109

lypee opened this issue May 28, 2022 · 3 comments

Comments

@lypee
Copy link

lypee commented May 28, 2022

哈希倾斜时 可能导致多数entry被分配到相同segment的ringbuf中。盼望您的解答

@lypee
Copy link
Author

lypee commented May 28, 2022

@coocood

@coocood
Copy link
Owner

coocood commented May 30, 2022

That's a issue with consistent hash algorithm, freecache doesn't use consistent hash.

@lypee
Copy link
Author

lypee commented May 30, 2022

这是一致性哈希算法的问题,freecache 不使用一致性哈希。

如果大部分数据倾斜到相同Segment呢

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