[REFACTOR] GET /novels/taste 응답 지연 개선 - #592
Merged
Merged
Conversation
5 tasks
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.
Related Issue
Key Changes
GROUP BY와MAX(user_novel_id)기준 정렬,LIMIT 10으로 변경했습니다.novel_statistics를 페치 조인해 후보 작품마다 발생하던 통계 조회 N+1을 제거했습니다.novel_statistics에서 조회해userNovels컬렉션 로딩을 제거했습니다.To Reviewers
user_novel_id를 기준으로 유지합니다.novel_statistics가 없는 작품은 기존 응답처럼 평점과 평가 수를 0으로 반환합니다.RecentSearchServiceTest의 null ID 문제로 실패했습니다.References