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

Reservation 이전 대기열 체크 로직 도입 #126

Closed
3 tasks
junha-ahn opened this issue Oct 20, 2023 · 0 comments · Fixed by #134
Closed
3 tasks

Reservation 이전 대기열 체크 로직 도입 #126

junha-ahn opened this issue Oct 20, 2023 · 0 comments · Fixed by #134
Assignees
Labels
enhancement New feature or request

Comments

@junha-ahn
Copy link
Member

junha-ahn commented Oct 20, 2023

Description

현재 Reservation은 모든 요청을 지연없이 즉시 DB로 전달합니다.

이를 대기열을 통해 순차처리로 로직 변경합니다.

대기열 서버docker-comopse up을 사용해 로컬에서 실행 할 수 있습니다.

  • 개발할때 127.0.0.1:xxxx를 대기열 서버 URL로 사용하실 수 있습니다.

DELETE /ticket/running/${eventId}/${userId} Endpoint 를 이용합니다

  • 200성공시 정상적으로 대기열에 입장한 유저
  • 404시 비정상적인 접근

To do

  • 관련 설정 (대기열 서버 URL 등) properties 도입
  • 대기열 서버 체크 API 사용
  • 테스트 코드 작성시 대기열 서버 Mock Up

Test Checklist

@junha-ahn junha-ahn added the enhancement New feature or request label Oct 20, 2023
@junha-ahn junha-ahn linked a pull request Nov 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants