Test/k6 test : 동시성 테스트 및 최종 선택#123
Merged
Merged
Conversation
모든 테스트 코드 메서드 호출부 제외 통일 시간 측정 로직 추가 핵심 메서드를 제외한 부분은 시간 측정에서 제외
- Retry v1
…니다. 추후 최후 사용버전이 확정되면 EventOrderController에서 EventOrderFacade에 있는 메서드 중 골라서 호출하면 됩니다.
🤖 AI 코드리뷰
안녕하세요! 👒 코드 리뷰를 담당하게 된 멘토입니다. 이번 PR에서 동시성 제어라는 어려운 주제에 대해 다양한 락(Lock) 전략을 구현하고, K6를 활용해 직접 성능을 비교하시는 모습이 정말 멋집니다. 실무에서도 이런 식의 체계적인 테스트 기반의 결정이 매우 중요합니다. 요구사항과 코드를 꼼꼼히 확인하고, 성장에 도움이 될 만한 피드백을 정리해 보았습니다. 📋 과제 요구사항 준수 여부
🟢 잘된 점
🔴 필수 수정1. 기본 API의 Redisson 사용 (과제 위반)
2. 민감 정보(Secret) 노출 위험
3. SQL 스크립트 변수 바인딩 미지원
🟡 권장 개선1. 시간 단위 변경에 따른 의도치 않은 락 시간 증가 (성능 저하 가능성)
2. 테스트를 위한 코드와 프로덕션 코드의 분리
💡 학습 포인트
|
munhyerin22
approved these changes
Apr 27, 2026
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.
동시성 문제 테스트한 코드 및 최종선택한 Redisson Blocking 적용 버전입니다.