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

key-to-node mapping에 참여하지 않는 key의 postfix 기능 개발. #17

Open
jhpark816 opened this issue Mar 24, 2015 · 2 comments

Comments

@jhpark816
Copy link
Collaborator

jhpark816 commented Mar 24, 2015

key의 postfix string이란 key-to-node mapping을 위한 consistent hashing에 사용되지 않는 string을 의미한다.
이를 통해, 특정 key들이 동일 cache node로 mapping될 수 있도록 한다.

예를 들면, 아래의 두 키가 같은 cache node로 mapping 되게 한다. 아래에서 postfix delimiter는 ^ 문자를 가정한 것이다.

  • <"prefix1:subkey1^postfix1" - "value1">
  • <"prefix1:subkey1^postfix2" - "value2">
jhpark816 added a commit that referenced this issue Jan 12, 2017
move queueReconnect line because of switchover
@oliviarla
Copy link
Collaborator

@jhpark816 이 이슈는 shard-key 관련된 내용인가요?

@jhpark816
Copy link
Collaborator Author

@oliviarla
맞습니다.
여기에서의 postfix가 <shard key, local key> 조합에서 local key를 의미합니다.

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

No branches or pull requests

2 participants