Skip to Content
마이크로서비스 아키텍처 구축(전면 개정판)
book

마이크로서비스 아키텍처 구축(전면 개정판)

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
253
6
워크플로
(이렇게 간단한 비즈니스 프로세스라고 해도 간단하지 않다 ).
우리의 비즈니스 프로세스를 명시적으로 표현하지 못하는 것도 문제지만, 사가가 어떤 상태에
있는지를 파악할 방법도 부족하므로 필요한 경우 보상 조치를 취할 기회조차 놓칠 수 있다. 보
상 조치를 수행하려고 개별 서비스에 일부 책임을 떠넘길 수 있지만, 근본적으로 복구를 위해
사가의 현재 상태를 파악할 방법이 필요하다. 사가의 상태를 둘러볼 중심이 되는 서비스가 없
다는 점이 큰 문제다. 앞서 오케스트레이션을 도입해 중심이 되는 서비스를 확보했는데, 여기
서는 이 문제를 어떻게 해결할 수 있을까?
이 문제를 해결하는 가장 쉬운 방법 중 하나는 발행된 이벤트를 사용해 사가의 상태에 대한 뷰
view
를 투영하는 것이다. 사가에 대한 고유
ID
, 즉
상관관계 ID상관관계 ID
correlation
ID
를 생성하면, 이
ID
를 사
가의 일부로 방출되는 모든 이벤트에 넣을 수 있다. 서비스 중 하나가 이벤트에 반응한다면 상
관관계
ID
가 추출돼 로컬 로깅 프로세스에서 사용되고, 추가적인 호출이나 발송된 이벤트들과
함께 다운스트림으로 전달된다. 그런 다음 이러한 모든 이벤트를 정리하고 각 주문의 상태 보
기를 제공하며, 다른 서비스가 스스로 처리하지 못할 경우에는 풀필먼트
fulfillment ...
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

파이썬으로 살펴보는 아키텍처 패턴

파이썬으로 살펴보는 아키텍처 패턴

오현석, 해리 퍼시벌, 밥 그레고리
견고한 데이터 엔지니어링

견고한 데이터 엔지니어링

조 라이스, 맷 하우슬리
클라우드 네이티브 애플리케이션 디자인 패턴

클라우드 네이티브 애플리케이션 디자인 패턴

카순 인드라시리, 스리스칸다라자 수호티얀
개발 7년차, 매니저 1일차

개발 7년차, 매니저 1일차

권원상, 한민주, 카미유 푸르니에

Publisher Resources

ISBN: 9791169211192