[Refactor] 프로필 목록 조회 트랜잭션 경계 축소 - #988
Open
tnals0924 wants to merge 1 commit into
Open
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- DB 접근을 MemberProfileListRetriever의 짧은 readOnly 트랜잭션으로 이관 - 페이지 대상 매핑 자료를 MemberProfilePageDataVo로 한 번에 로드 - 서비스에서 @transactional 제거해 플랫폼 HTTP 왕복·전원 정렬 동안 커넥션 미점유
tnals0924
force-pushed
the
refactor/#985-tx-boundary
branch
from
September 7, 2026 02:30
a22bdf6 to
3012e3e
Compare
tnals0924
changed the base branch from
develop
to
refactor/#984-member-profile-projection
September 7, 2026 02:32
tnals0924
marked this pull request as ready for review
September 9, 2026 08:05
tnals0924
changed the base branch from
refactor/#984-member-profile-projection
to
develop
September 9, 2026 08:06
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.
🐬 요약
멤버 프로필 목록 조회(
GET /api/v1/members/profile)에서 DB 커넥션을 오래 점유하던 트랜잭션 경계를 축소하고, 정렬·조회 과정의 N+1을 제거했습니다.👻 유형
🍀 작업 내용
MemberProfileListRetriever의 짧은 readOnly 트랜잭션으로 분리하고, 서비스에서@Transactional을 제거해 플랫폼 서버 HTTP 왕복·전원 정렬(약 1,300건) 동안 DB 커넥션을 점유하지 않도록 개선MemberProfilePageDataVo로 한 트랜잭션 안에서 모아 로드🌟 관련 이슈
close: #985