지도 클러스터/마커형 조회 기능 Redis 분산락 & Retry 적용 #70
Merged
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.

✨ 변경 사항
🔍 변경 이유
Redis에 캐싱된 데이터를 갱신해야 하거나 cache miss가 발생하는 경우, DB에 데이터를 조회하여 Redis에 다시 캐싱함. 이때 많은 요청들이 동시에 몰려서 DB 커넥션 요청이 급증하는 상황을 막기 위해 분산락을 획득한 하나의 스레드만이 갱신을 진행하도록 제한하였음
✅ 체크리스트
📸 스크린샷 (선택)
📌 참고 사항