Skip to content

silano08/synchronize-user-balance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API 목록

url 설명
/account/{id}/balance 잔고내역
/account/{id}/deposit 잔고입금
/account/{id}/withdraw 잔고출금

조건

  • 한명의 유저에게 잔고 입금 요청이 동시에 2개 이상 올 경우 실패함. 응답값은 자유
  • 한명의 유저에게 잔고 입금과 출금 요청은 동시에 올 수 있고, 요청 온 차례대로 실행
  • 한명의 유저에게 잔고 출금 요청이 동시에 2개 이상 올 경우 차례대로 실행

About

입출금 관련 동시성 제어 미니 프로젝트

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages