안마의자 조회 시 Redis 중복 호출 제거 - #217
Merged
Merged
Conversation
Contributor
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
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.
#️⃣연관된 이슈
📝작업 내용
GetMassageServiceImpl.execute()에서isApply()와getQueue()가 각각 Redis 대기열(massage:queue)을LRANGE로 전체 조회하던 것을 하나로 합침getQueue()호출 결과를 재사용해서 현재 사용자의 신청 여부(APPLIED)를 판단하도록 변경 → 요청당 Redis 왕복 1회 감소GetMassageServiceTest)에 대기열 포함 시나리오 케이스 추가성능 측정
로컬 docker-compose Redis(7)에
redis-benchmark로 단일 커넥션(-c 1) 기준 측정 (대기열 30명 기준, 3회 평균):로컬 loopback 기준 수치라 절대값은 작지만, Redis 왕복 3회 중 1회를 제거한 것이므로 실제 운영 네트워크(앱 서버 ↔ Redis)에서는 절대 절감폭이 더 클 것으로 예상됩니다.
스크린샷 (선택)
💬리뷰 요구사항(선택)