Skip to content

[feat #4] 입찰 동시성 제어#5

Merged
hyun2371 merged 13 commits intodevfrom
feat/#4/bidding-concurrency-lock
Jul 9, 2025
Merged

[feat #4] 입찰 동시성 제어#5
hyun2371 merged 13 commits intodevfrom
feat/#4/bidding-concurrency-lock

Conversation

@hyun2371
Copy link
Copy Markdown
Owner

@hyun2371 hyun2371 commented Jul 9, 2025

close #4

📑 작업 내용

  • 기존에 분산락 말고도 낙관락, 비관적 락 추가
    • 경매 마감 직전에는 충돌 가능성 높다고 판단해 비관적 락 최종 적용
  • 버전 필드를 추가하면 별도의 락 컬럼 없이도 JPA가 낙관락이라고 인식 -> 주석 처리
    • 특정 조회 메서드에만 낙관적 락을 적용하고 싶을 때를 위해 repository optimistic lock 쓰는 것
  • 로컬 테스트 성능 비교로는 한계가 있으니 성능 테스트 툴로 추후에 검증해봐도 좋을 것 같다.

@hyun2371 hyun2371 linked an issue Jul 9, 2025 that may be closed by this pull request
1 task
@hyun2371 hyun2371 added the feature New feature or request label Jul 9, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 9, 2025

Test Results

 36 files   36 suites   38s ⏱️
129 tests 129 ✅ 0 💤 0 ❌
132 runs  129 ✅ 3 💤 0 ❌

Results for commit c27d6f0.

♻️ This comment has been updated with latest results.

@hyun2371 hyun2371 merged commit 9b1b9ae into dev Jul 9, 2025
3 checks passed
@hyun2371 hyun2371 deleted the feat/#4/bidding-concurrency-lock branch July 9, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] : 입찰 동시성 제어

1 participant