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

ch6中 密钥->键,zh-tw的ch6中 金鑰->鍵 #131

Merged
merged 1 commit into from
Sep 26, 2021

Conversation

KAKXA
Copy link
Contributor

@KAKXA KAKXA commented Sep 26, 2021

原文中的key一直都是键的意思

The problem with the mod N approach is that if the number of nodes N changes,
most of the keys will need to be moved from one node to another. For example, say
hash(key) = 123456. If you initially have 10 nodes, that key starts out on node 6
(because 123456 mod 10 = 6). When you grow to 11 nodes, the key needs to move to
node 3 (123456 mod 11 = 3), and when you grow to 12 nodes, it needs to move to
node 0 (123456 mod 12 = 0). Such frequent moves make rebalancing excessively
expensive.

@yingang yingang merged commit 9b2cf5d into Vonng:master Sep 26, 2021
@yingang
Copy link
Collaborator

yingang commented Sep 26, 2021

Thanks for your contribution!

@wizardforcel
Copy link

可能是翻译引擎的问题没查出来

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