Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[#40] CompletableFuture를 활용한 비동기 처리 #41

Merged
merged 9 commits into from
Oct 2, 2024
Merged

Conversation

cluejws
Copy link
Collaborator

@cluejws cluejws commented Oct 1, 2024

Description

  • CompletableFuture를 활용한 비동기 처리

Todo

  • 이미지 저장
    • 채팅 메시지 전송 시, 이미지 저장
  • 음원 게시물 삭제
    • 음원 게시물 삭제
    • 음원 게시물 삭제 시, 이미지 삭제
  • 비동기 처리
    • 채팅방 저장 시, 채팅방 DB 접근과 채팅 DB 접근
    • 채팅방 삭제 시, 채팅방 DB 접근과 채팅 DB 접근
    • 음원 게시물 삭제 시, 파일 스토리지 접근과 DB 접근
    • 좋아요 추가 및 삭제 시, 좋아요 개수 관련

- 불필요한 직렬화/역직렬화 제거
- PROTECTED → PRIVATE 로 접근 레벨 변경
@cluejws cluejws added the enhancement New feature or request label Oct 1, 2024
@cluejws cluejws requested a review from f-lab-lyan October 1, 2024 20:27
@cluejws cluejws self-assigned this Oct 1, 2024
@cluejws cluejws force-pushed the feature/40 branch 3 times, most recently from ebfd292 to e29e6da Compare October 2, 2024 07:51
- 채팅방 저장 시, 채팅방 DB 접근과 채팅 DB 접근 비동기 처리
- 채팅방 삭제 시, 채팅방 DB 접근과 채팅 DB 접근 비동기 처리
- 음원 게시물 삭제 시, 파일 스토리지 접근과 DB 접근 비동기 처리
- 채팅방 저장 시, 채팅방 DB 접근과 채팅 DB 접근 비동기 처리
    - 비동기 작업 대기, UnChecked 예외로 변경
- 채팅방 삭제 시, 채팅방 DB 접근과 채팅 DB 접근 비동기 처리
    - 콜백 → 병렬 처리
Copy link

sonarqubecloud bot commented Oct 2, 2024

@cluejws cluejws merged commit ca0cfbc into main Oct 2, 2024
2 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant