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

타이머 API #51

Open
2 tasks done
O-O-wl opened this issue Aug 18, 2020 · 0 comments
Open
2 tasks done

타이머 API #51

O-O-wl opened this issue Aug 18, 2020 · 0 comments
Assignees
Labels
❗우선순위 : 중 중요하지만 급하지 않습니다. 🙇‍♂️ 요청사항 클라이언트가 요청드립니다.

Comments

@O-O-wl
Copy link
Member

O-O-wl commented Aug 18, 2020

실시간 랭킹 반영을 위한 API 요청

  • 유저의 누적시간을 가져오는 API 필요
  • 클라이언트 타이머의 상태 + 현재 누적시간(현재 타이머에서 누적된 시간 + 기존 누적시간) 을 유저의 누적시간에 대치시키는 API 필요

📝 description

  1. 타이머가 진행중이면 5분마다 콜할 예정, 백엔드에서는 클라이언트로 부터 오는 누적시간으로 유저 누적시간 대치
  2. Or 타이머 상태가 변할때마다 콜할 예정
  3. 5분마다 요청이 오지 않을시 타이머 비활성 유저로 판단

🤔 discussion
실제 타이머를 카운팅하는 클라이언트의 시간 데이터가 더 데이터 정합성 상 신뢰성이 높은 것으로 보임)

@O-O-wl O-O-wl added ❗우선순위 : 중 중요하지만 급하지 않습니다. 💡 제안 제안 해주세요. 🙇‍♂️ 요청사항 클라이언트가 요청드립니다. and removed 💡 제안 제안 해주세요. labels Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❗우선순위 : 중 중요하지만 급하지 않습니다. 🙇‍♂️ 요청사항 클라이언트가 요청드립니다.
Projects
None yet
Development

No branches or pull requests

2 participants