마이크로서비스는 모놀리식 아키텍처와 달리 단일 시스템을 잘게 나누어 작은 서비스들의 조합으로 구축하는 방법이며 대부분의 마이크로서비스는 동기식 API를 통해 통신한다. 동기식 마이크로서비스는 서비스간의 의존성이 강해 장애 전파에 취약하다. 이벤트 주도 아키텍처를 통해 마이크로서비스를 구현하면 장애에 견고하고 높은 응답성을 기대할 수 있다. 기업 환경에서 이벤트 시스템을 적용하여 사용하고 있지만 현실적인 시나리오서 서비스를 만들고 공개한 것은 없어서 서비스 구현을 통해 이벤트 주도 마이크로서비스의 성능을 입증한다. 이벤트 기반 비동기식 서비스와 기존 동기식 서비스를 두 가지 시나리오를 통해 성능 평가를 수행한다. 본 논문에서 구현한 시스템의 평균 TPS가 최대 약 11% 높았고, 평균 ...
마이크로서비스는 모놀리식 아키텍처와 달리 단일 시스템을 잘게 나누어 작은 서비스들의 조합으로 구축하는 방법이며 대부분의 마이크로서비스는 동기식 API를 통해 통신한다. 동기식 마이크로서비스는 서비스간의 의존성이 강해 장애 전파에 취약하다. 이벤트 주도 아키텍처를 통해 마이크로서비스를 구현하면 장애에 견고하고 높은 응답성을 기대할 수 있다. 기업 환경에서 이벤트 시스템을 적용하여 사용하고 있지만 현실적인 시나리오서 서비스를 만들고 공개한 것은 없어서 서비스 구현을 통해 이벤트 주도 마이크로서비스의 성능을 입증한다. 이벤트 기반 비동기식 서비스와 기존 동기식 서비스를 두 가지 시나리오를 통해 성능 평가를 수행한다. 본 논문에서 구현한 시스템의 평균 TPS가 최대 약 11% 높았고, 평균 응답속도가 약 15% 적은 것을 확인했다. 그리고 Burst-Test 환경에서 평균 TPS가 최대 약22 % 높았고, 평균 응답속도도 약 48% 적었다. 실험을 통해 이벤트 주도 마이크로서비스의 성능을 입증하는데 기여하였다.
마이크로서비스는 모놀리식 아키텍처와 달리 단일 시스템을 잘게 나누어 작은 서비스들의 조합으로 구축하는 방법이며 대부분의 마이크로서비스는 동기식 API를 통해 통신한다. 동기식 마이크로서비스는 서비스간의 의존성이 강해 장애 전파에 취약하다. 이벤트 주도 아키텍처를 통해 마이크로서비스를 구현하면 장애에 견고하고 높은 응답성을 기대할 수 있다. 기업 환경에서 이벤트 시스템을 적용하여 사용하고 있지만 현실적인 시나리오서 서비스를 만들고 공개한 것은 없어서 서비스 구현을 통해 이벤트 주도 마이크로서비스의 성능을 입증한다. 이벤트 기반 비동기식 서비스와 기존 동기식 서비스를 두 가지 시나리오를 통해 성능 평가를 수행한다. 본 논문에서 구현한 시스템의 평균 TPS가 최대 약 11% 높았고, 평균 응답속도가 약 15% 적은 것을 확인했다. 그리고 Burst-Test 환경에서 평균 TPS가 최대 약22 % 높았고, 평균 응답속도도 약 48% 적었다. 실험을 통해 이벤트 주도 마이크로서비스의 성능을 입증하는데 기여하였다.
Unlike the monolithic architecture, microservice is a method of dividing a single system into small combinations of services, and most microservice communicates through synchronous APIs. Synchronous microservice is vulnerable to the error propagation due to its strong dependence among services. Impl...
Unlike the monolithic architecture, microservice is a method of dividing a single system into small combinations of services, and most microservice communicates through synchronous APIs. Synchronous microservice is vulnerable to the error propagation due to its strong dependence among services. Implementing microservice through event-driven architecture can lead to robust and high responsiveness systems. Although an event system is already applied and used in the enterprise, no realistic scenario-based services have been created and disclosed. Therefore, this paper has implemented event-based system and evaluated performance. In the experiment, the event-based asynchronous service and the existing synchronous service were compared in two scenarios. The average TPS of the system implemented in this paper was up to about 11% higher, and the average response speed was about 15% lower. In addition, the average TPS was up to about 22% higher in the Burst-Test environment, and the average response speed was about 48% lower. Experiments have contributed to demonstrating the performance of event-driven micro-service.
Unlike the monolithic architecture, microservice is a method of dividing a single system into small combinations of services, and most microservice communicates through synchronous APIs. Synchronous microservice is vulnerable to the error propagation due to its strong dependence among services. Implementing microservice through event-driven architecture can lead to robust and high responsiveness systems. Although an event system is already applied and used in the enterprise, no realistic scenario-based services have been created and disclosed. Therefore, this paper has implemented event-based system and evaluated performance. In the experiment, the event-based asynchronous service and the existing synchronous service were compared in two scenarios. The average TPS of the system implemented in this paper was up to about 11% higher, and the average response speed was about 15% lower. In addition, the average TPS was up to about 22% higher in the Burst-Test environment, and the average response speed was about 48% lower. Experiments have contributed to demonstrating the performance of event-driven micro-service.
주제어
#마이크로서비스 이벤트 주도 아키텍처 비동기식 통신 Microservice Event-Driven Architecture Asynchronous communication
학위논문 정보
저자
전정태
학위수여기관
중앙대학교 대학원
학위구분
국내석사
학과
컴퓨터공학과 시스템 소프트웨어 전공
지도교수
박재현
발행연도
2021
총페이지
v, 45장
키워드
마이크로서비스 이벤트 주도 아키텍처 비동기식 통신 Microservice Event-Driven Architecture Asynchronous communication
※ AI-Helper는 부적절한 답변을 할 수 있습니다.