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

feat: update user ranking data for every 10minute #56 #58

Merged
merged 3 commits into from
Dec 5, 2023
Merged

Conversation

cjho0316
Copy link
Contributor

@cjho0316 cjho0316 commented Dec 4, 2023

유저가 생성됨과 동시에 레디스에 initializing 헤줍니다.

  • 'zadd' 사용시 score으로 정렬이 되도록 변경해주었습니다.

주기적으로(10분) 메인DB postgreSQL에서 유저를 가지고 와서 레디스에 업데이트 하는 작업을 합니다.

@cjho0316 cjho0316 added the FEAT label Dec 4, 2023
@cjho0316 cjho0316 self-assigned this Dec 4, 2023
@cjho0316 cjho0316 linked an issue Dec 4, 2023 that may be closed by this pull request
2 tasks
@yubinquitous
Copy link
Contributor

고생하셨슴당🎉

@yubinquitous yubinquitous merged commit 600235a into main Dec 5, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add Cron for updating Redis ranking from postgreSQL
2 participants