서브상단 글자

논문검색

HOME     논문및학회지     논문검색

정보화연구, Vol.20 no.4 (2023)
pp.281~294

DOI : 10.22865/jita.2023.20.4.281

마이크로서비스 아키텍처의 분산 트랜잭션 비교 연구

손승범

(동아대학교 경영대학원 디지털금융학과 석사과정)

이채원

(동아대학교 경영정보학과 석사과정)

이강배

(동아대학교 경영정보학과 교수)

본 논문의 연구목적은 금융권 업무와 같이 데이터의 정합성이 중요하게 요구되는 환경에서 마 이크로서비스 아키텍처가 적합한지 알아보고 벤치마크 테스트를 위하여 구성한 ‘이체 거래 서비스 프 로세스 모형’에서 분산 트랜잭션 디자인패턴들의 성능 비교를 통하여 적합한 아키텍처를 제안하는 것 이다. 본 연구에서 비교 대상으로 고려하는 분산 트랜잭션 디자인패턴들은 2 Phase Commit, Choreography-Based Saga, Orchestration-Based Saga, Axon Framework 등이다. 분석 결과, 마 이크로서비스 아키텍처는 비즈니스 기능을 중심으로 구축되고 자유로운 기술 조합으로 인해 디지털 전환에 유리하지만, 서비스 간 통신의 복잡성으로 인해 문제점이 발생한다는 것을 확인하였다. 특히 데이터베이스 분산으로 인한 트랜잭션 관리와 데이터 정합성 유지가 어려움을 알 수 있었다. 또한 Axon Framework를 활용하여 분산 트랜잭션을 구성하는 것이 성능 및 향후 발생 가능한 문제점에 대응하기 위한 최적의 선택임을 알 수 있었다.

Comparison of Distributed Transactions in Microservice Architecture

Seung-Beom Son

Chae-Won Lee

Kang-Bae Lee

The purpose of this study is to find out whether microservice architecture is appropriate in an environment where data consistency is important, such as in the financial sector, and to compare the performance of distributed transaction design patterns in the 'transfer transaction service process model' constructed for benchmark testing. It is to propose a suitable architecture. Distrib-uted transaction design patterns for maintaining data consistency, which are considered as comparison targets in this study, are 2 Phase Commit, Choreography-Based Saga, Orchestration- Based Saga, and Axon Framework. As a result of the analysis, it was confirmed that the microservice architecture is built around business functions and has the advantage of being advantageous for digital transformation due to the free combination of technologies, but problems arise due to the complexity of communication between services. In particular, it was found that it was difficult to manage transactions and maintain data consistency due to database dispersion. In addition, it was found that constructing a distributed transaction using the Axon Framework is the optimal choice to respond to performance and possible problems in the future.

Download PDF list