feat: Redis Circuit Breaker를 통한 장애 구간 지연 개선 - #18
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.
변경 사항
Circuit Breaker 설정
장애 실험
100 VU, 120초 조건에서 Redis를 30초간 중단했다.
Fallback only
Circuit Breaker 적용
결과
Fallback을 통해 Redis 장애 중 기능 가용성을 유지하고,
Circuit Breaker를 추가해 반복적인 Redis Timeout 비용을 줄였다.
한계
장애 중 반복 호출을 차단하는 역할