Skip to content
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

메시지 채팅 반환 형태 바꾸기 #235

Open
2 tasks
HyunMinH opened this issue Oct 13, 2021 · 0 comments
Open
2 tasks

메시지 채팅 반환 형태 바꾸기 #235

HyunMinH opened this issue Oct 13, 2021 · 0 comments

Comments

@HyunMinH
Copy link
Collaborator

채팅 기능에서 데이터베이스 저장 및 fcm 저장하는 기능을 분리하였음.
하지만 메시지 수신자에게 메시지를 전달하기 위해, 방 정보와 보낸 사람의 정보를 데이터베이스에서 조회함.
물론 JPA를 사용하기 때문에 어느정도 캐싱이 되지만 더 성능을 높이기 위해 반환하는 메시지 형태를 바꿔야함.

  • 서버가 반환하는 메시지 형태 변환
  • 안드로이드에서 해당 방의 정보와 그 방안의 사람들의 정보를 메모리에 보관할 필요가 있음.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant