arcus-java-client
arcus-java-client copied to clipboard
key-to-node mapping에 참여하지 않는 key의 postfix 기능 개발.
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 이 이슈는 shard-key 관련된 내용인가요?
@oliviarla
맞습니다.
여기에서의 postfix가 <shard key, local key>
조합에서 local key를 의미합니다.