Skip to Content
이벤트 기반 마이크로서비스 구축
book

이벤트 기반 마이크로서비스 구축

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
195
8
장
마이크로서비스 워크플로 구축
전형적인 안티패턴입니다. 그렇게 만들면 결국 오케스트레이터와 워커 서비스 간의 워크플로
비즈니스 로직이 여기저기 흩어져 캡슐화가 잘 안 되고 경계 콘텍스트가 잘못 정의돼서 워크플
로 서비스의 소유권을 여러 팀으로 확장시키기가 어려워집니다. 오케스트레이터는 워커 서비
스에게 완전히 책임을 위임하고 자신이 수행하는 비즈니스 로직은 최소화하는 게 좋습니다.
8.2.5
오케스트레이션 워크플로 모니터링
구체화 상태를 쿼리하면 오케스트레이션 워크플로를 가시화할 수 있어 특정 이벤트의 진행 상
황 및 워크플로에서 발생 가능한 이슈를 파악하기 쉽습니다. 또 오케스트레이터 레벨에서 모니
터링, 로깅을 구현하면 워크플로 장애를 유발하는 이벤트를 탐지할 수 있습니다.
8.3
분산 트랜잭션
분산 트랜잭션
distributed
transaction
은 둘 이상의 마이크로서비스에 걸쳐있는 트랜잭션을 말합니다.
마이크로서비스는 각자 트랜잭션에서 자신의 분량을 처리하되 트랜잭션이 중단되어 되돌아갈
경우 처리한 내용을 되돌립니다. 이러한 이행
fulfillment
/역전
reversal
로직은 반드시 동일한 마이크
로서비스 안에 두어야 합니다. 그래야 롤백을 할 수 없을 경우에도 새 트랜잭션이 시작되지 못
하게 할 수 있고 관리 목적으로도 필요하기 때문입니다.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

헤드 퍼스트 자바(3판)

헤드 퍼스트 자바(3판)

케이시 시에라, 버트 베이츠
클라우드 핀옵스: 비용은 최소화 운영은 최적화

클라우드 핀옵스: 비용은 최소화 운영은 최적화

오성근, J. R. 스토먼트, 마이크 풀러

Publisher Resources

ISBN: 9791162244173