상황
api 처리속도를 높이기 위해 parallel 처리를 50개 이상씩 한번에 처리하려고 수정중
3rd server 에서 에러가 발생함
내용
jta 를 사용중인데, transactions 갯수 제한이 default 로 되어있었다.
따라서 일시적으로 많은 요청이 들어왔을때
Max number of active transactions reached:50 이 발생했다.
해결
System.setProperty("com.atomikos.icatch.max_actives", "100");
max_actives 를 결정하는 property 를 system.setProperty 로 변경처리함
결과
before
after