-
Notifications
You must be signed in to change notification settings - Fork 0
지도 클러스터/마커형 조회 기능 Geohash 기반 요청 구조 리팩토링 및 Redis 캐싱 적용 #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
- 각 API 역할에 따라 캐시 DAO를 기능별로 분리 (ClusterCacheDao, DiaryCacheDao) - Redis 장애 시 fallback을 위한 DB 조회 및 예외 처리 적용
- Look-Aside + Write-Around 캐싱 전략 적용
- Look-Aside 전략에 따라 생성 시 캐시에는 저장하지 않음
|
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.



📌 PR 제목
지도 도메인 요청 구조 Geohash 방식으로 리팩토링 및 Redis Cache를 통한 최적화
✨ 변경 사항
Map API 요청 구조 리팩토링
변경 전: 좌표 기반 요청 구조
변경 후: Geohash 기반 정형화된 요청 구조로 전환
geohash(길이 3)+local_level (1=시도, 2=시군구)geohash(길이 5)고정Redis 캐시 구조 도입
cluster:{geohash}:{level}marker:ids:geohash:{hash}/ [2단계]marker:diary:{id}+) 추가 변경 사항
multiGet을 활용한 Redis I/O 최적화🔍 변경 이유
주요 코드 변경 예시
개선 전
개선 후 (multiGet 도입)
✅ 체크리스트
📸 스크린샷 (선택)
📌 참고 사항