Repository navigation
[Feat] 채팅 시스템 분산 서버 환경 대응을 위한 Redis Pub/Sub 도입 - #480
Merged
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.
PR 제목
변경 사항
Redis 의존성 및 설정 추가: spring-boot-starter-data-redis 추가 및 RedisConfig (직렬화, MessageListenerContainer) 구현
메시지 브로드캐스트 아키텍처 변경:
기존: SimpMessagingTemplate을 통한 단일 서버 내부 메시지 전송
변경: ChatRedisPublisher를 통해 Redis 채널에 Publish 후, 각 서버의 ChatRedisSubscriber가 수신하여 로컬 웹소켓 클라이언트들에게 메시지를 전송하는 구조로 개선
인프라 구성 추가: docker-compose.yml 및 docker-compose.local.yml에 Redis 컨테이너 추가 및 app 서비스와 의존성 연결
작업 내용 체크
관련 이슈
기타 공유 사항