feat: Redis 장애 대응 - 분산 락 및 캐시 리포지토리 Fallback 구현 #321
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 and Link
Summary
기존 Docker-compose 에서 Redis 이미지 다운시 레디스 이미지를 무한정 기다리던 오류를 해결하니다.
Redis 장애 발생 시 Fallback 메커니즘을 적용하여 서비스의 안정성을 확보합니다.
ReentrantLock
을 사용하여 동시성 문제를 해결합니다.ConcurrentHashMap
을 사용한 로컬 캐시로 자동 전환합니다.Other Information