Skip to content

fix: 정렬 선택 시 전체 조회로 인한 502 과부하 #95

Description

@ohhalim

문제

가격/최신 정렬 시 searchWithPriceSort가 전체 코스 조회 후 메모리 정렬
→ t3.small에서 부하 → 502 Bad Gateway

해결

price_history JOIN native query로 DB 레벨 정렬 + 페이지네이션 적용
전체 조회 제거, 요청 페이지 단위만 조회

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions