Merged
Conversation
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.
🔗 Issue Number
close #260
📝 작업 내역
전체 캐시 삭제: 캐시 히트율이 감소 캐시 실효성이 떨어짐 → 인덱스 재조회 : ES 부하 증가조건 키 삭제: 새로 추가된 가게가 포함될 수 있을 캐시 키를 예측하여 해당 키만 삭제→ 성능과 데이터 정합성 균형 유지 가능
AS-IS: 조건 키 삭제 로직 중 키워드를 검색하지 않은 전체 검색(*:keyword=) 캐시가 누락 → 신규 가게를 전체 목록에서 찾을 수 없음TO-BE:전체 검색(
*:keyword=) 캐시 + 키워드 ngram 토큰 분해하여 키 탐색 및 삭제카테고리 아이디 기준 조건 삭제 (키워드 조건에 포함되어 굳이 카테고리 기준으로 삭제할 필요가 없음)
evictSearchCacheForNewStore 로직 수정
💡 PR 특이사항
📸 스크린샷