arcus-java-client icon indicating copy to clipboard operation
arcus-java-client copied to clipboard

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

Open jhpark816 opened this issue 9 years ago • 2 comments

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 avatar Mar 24 '15 05:03 jhpark816

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

oliviarla avatar Jul 26 '24 08:07 oliviarla

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

jhpark816 avatar Jul 30 '24 14:07 jhpark816