-
Notifications
You must be signed in to change notification settings - Fork 0
[PRBE-35] 게시물 저장 및 분석 API 연결 #14
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
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
📊 Jacoco Test Coverage
|
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.
🎟️ 관련 Jira 이슈
Resolves #PRBE-35
👩💻 구현 내용
💬 코멘트
💭 고려한 점
로그인 시 바로 게시물 분석을 하고 응답을 내보내면 사용자의 대기 시간이 너무 길어지므로 비동기로 로직을 처리해 응답을 먼저 내보낼 수 있도록 설정했습니다.
또한 계속 api 를 호출하여 가져오는 게 아니라 비용을 고려하여 로그인 시 대량의 데이터를 가져오고 재 로그인 시에는 그 후 추가된 데이터만을 가져오는 방식을 활용하여 보다 효율적인 외부 API 소통이 가능하도록 설정했습니다.
추후에는 스케쥴러 설정을 통해 사용자가 많이 사용하지 않는 시간대에 게시물에 대한 전반적인 업데이트를 통해 삭제, 수정 반영을 진행할 예정입니다.