-
Notifications
You must be signed in to change notification settings - Fork 5
Scale Out을 위한 Redis Pub/Sub 기반 공개 채팅 아키텍처 도입 #241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
#️⃣ 이슈
🔎 작업 내용
https://meteorfish.tistory.com/9
PR Type
Enhancement
Description
Migrates chat functionality to Redis Pub/Sub for scalability.
Improves WebSocket handling for chat rooms.
Adds a default chat room on application start.
Diagram Walkthrough
File Walkthrough
7 files
Updates `getChatMessages` to use `findLatestMessages`Refactors WebSocket handler to use Redis Pub/SubUpdates `getRecentMessages` to use `findLatestMessages`Implements Redis Pub/Sub and manages chat roomsImplements Redis publisher for sending chat messagesImplements Redis subscriber for receiving chat messagesAdds default chat room creation6 files
Removes RabbitMQ related constantsRemoves RabbitMQ consumer service interfaceRemoves RabbitMQ consumer service implementationRemoves RabbitMQ producer service interfaceRemoves RabbitMQ producer service implementationRemoves RabbitMQ configuration3 files
Removes test WebSocket handlerRemoves message queue processing serviceNo changes4 files
Adds conditional property for dummy data loadingExcludes WebSocket config from test profileConfigures Redis connections and message listenersUpdates local DB dialect7 files