Skip to content

웹소켓 게임에서 락 분할, 캐싱 통해 응답 지연 12초 → 0.5초로 동시성 병목 해소#155

Open
persi0815 wants to merge 9 commits intodevelopfrom
refactor/151
Open

웹소켓 게임에서 락 분할, 캐싱 통해 응답 지연 12초 → 0.5초로 동시성 병목 해소#155
persi0815 wants to merge 9 commits intodevelopfrom
refactor/151

Conversation

@persi0815
Copy link
Contributor

PR 타입

  • 리펙토링

구현한 기능

  • 웹소켓 게임에서 락 분할, 캐싱 통해 응답 지연 시간을 12초 → 0.5초로 동시성 병목 해소했습니다.

테스트 결과

Synchronized로 동시성 제어: 12초 (21초 - 9초)
image
ReentrantLock 락분할 + 로컬 캐싱: 0.5초 (9.5초 - 9초)
image

*9초 = 가상 사용자 생성하여 토큰 발급 소요 시간

@persi0815 persi0815 self-assigned this Aug 4, 2025
@persi0815 persi0815 linked an issue Aug 4, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REFACTOR] 웹소켓 게임 대규모 트래픽 대응 가능하게

1 participant