FEAT: Add set/get replica methods to distribute read traffic for hot …#1027
Merged
jhpark816 merged 1 commit intonaver:developfrom Dec 19, 2025
Merged
FEAT: Add set/get replica methods to distribute read traffic for hot …#1027jhpark816 merged 1 commit intonaver:developfrom
jhpark816 merged 1 commit intonaver:developfrom
Conversation
uhm0311
requested changes
Dec 3, 2025
ba1df34 to
424b27b
Compare
uhm0311
requested changes
Dec 5, 2025
424b27b to
f4bf59c
Compare
uhm0311
previously approved these changes
Dec 5, 2025
Contributor
Author
|
|
Collaborator
|
arcus-java-client가 먼저 릴리즈된 후에 arcus-spring 작업을 시작해도 어색하지 않을 것 같습니다. |
oliviarla
reviewed
Dec 10, 2025
Collaborator
oliviarla
left a comment
There was a problem hiding this comment.
전체적인 틀은 approve 상태이고, 자잘한 구현 관점의 피드백입니다.
03ce5a2 to
94b8eee
Compare
oliviarla
reviewed
Dec 12, 2025
94b8eee to
a47db1a
Compare
Collaborator
|
리뷰가 다 반영되었다면 재리뷰 요청해주세요. |
Contributor
Author
|
@oliviarla |
oliviarla
reviewed
Dec 18, 2025
10c8bc2 to
775facc
Compare
oliviarla
reviewed
Dec 18, 2025
oliviarla
reviewed
Dec 18, 2025
c7741cb to
fdb2dc7
Compare
fdb2dc7 to
85066d1
Compare
oliviarla
approved these changes
Dec 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…items
🔗 Related Issue
⌨️ What I did
특정 hot item의 읽기 트래픽을 여러 노드들로 분산시킬 수 있도록 Replica 기능을 구현합니다.
원본 키를 여러 복제키로 변환하여 무작위의 노드에 동일한 데이터를 분산시킵니다.
setReplicas): 지정된 갯수만큼 복제 키를 생성하고, 이를 여러 노드에 무작위로 분산시켜 저장합니다.getFromReplica): 복제키들 중 하나를 랜덤하게 선택하여 조회합니다.asyncGetFromReplica(): 비동기로 랜덤한 복제 키를 조회getFromReplica(): 조회 성공까지 랜덤한 순서로 동기조회ArcusClientReplicaTestsetReplicas()가 지정된 개수만큼 저장이 성공적으로 수행되는지 확인getFromReplica()를 통해 저장된 값을 읽어오는지 확인해당 PR이 머지됨에 따라
arcus-spring에도 replica 관련 메서드 적용한 PR올리도록 하겠습니다.