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

경매 입찰 기능 구현 #163

Merged
merged 9 commits into from
Jun 6, 2024
Merged

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    1697e42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    243b1e4 View commit details
    Browse the repository at this point in the history
  3. feat: #162 - Auction 엔티티에 낙관적 락 적용

    - 최종 낙찰 금액에 해당하는 minBid -> finalBid로 직관적으로 수정
    JadeKim042386 committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    bedd5fe View commit details
    Browse the repository at this point in the history
  4. feat: #162 - 경매 입찰 기능 구현

    - 입찰 요청 시 방어 로직 추가
      - 요청한 입찰가는 이전 입찰가보다 높아야함
      - 경매를 올린 사용자는 입찰이 불가능
      - 경매가 시작하기 전 또는 후에는 입찰이 불가능
    - 여러 사용자가 동시에 입찰을 시도할 경우 낙관적 락 OPTIMISTIC 옵션을 적용
      - READ level에서 lock을 적용하여 잘못된 값을 조회하지 않도록 적용
    - 낙관적 락 적용으로 인해 Exception이 발생할 경우 Retry 적용
      - BackOff를 적용하여 1초 delay를 시작으로 max 5초까지 delay를 적용
      - 최대 3번 retry 적용
    JadeKim042386 committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    4e616a1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d8df6c0 View commit details
    Browse the repository at this point in the history
  6. style: #162 - 메소드/변수명 수정

    - AuctionRequest의 finalBid -> minimumBid 수정
    - AuctionApi의 requestBidding -> placeBidding 수정
    JadeKim042386 committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    db2fd40 View commit details
    Browse the repository at this point in the history
  7. feat: #162 - 입찰 기능의 비지니스 로직 수정

    - 입찰 시간에 대한 방어 로직 조건이 잘못되어 수정
    - 방어 로직을 따로 메소드 분리
    JadeKim042386 committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    f18ca57 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    447d887 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    17e1e61 View commit details
    Browse the repository at this point in the history