배경 동시성 이슈를 제어하는 프로젝트를 진행하던 중 JPA의 Pessimistic lock 을 활용해서 연결된 MySQL DB의* X-lock*을 통해 동시성 문제를 해결하려고 하였다. 콘서트 예약 환경에서 어떤 공연(show)의 특정 좌석(seat)에 대한 예약이