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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
243
6
워크플로
여기서 주문 처리 프로세스는 하나의 사가로 표현되며, 이 흐름의 각 단계는 서로 다른 서비
스에서 수행할 수 있는 작업을 나타낸다. 각 서비스 내부의 모든 상태 변경은 로컬
ACID
랜잭션 내에서 처리될 수 있다. 예를 들어 우리가 창고 (
Warehouse
) 서비스를 사용해 재
고를 확인하고 예약하는 경우, 창고 서비스는 내부적으로 예약 상황을 기록하는 로컬 예약
(
Reservation
) 테이블에 행을 생성할 수 있다. 이러한 변경은 일반 트랜잭션 내에서 처리될
것이다.
6.4.16.4.1
사가 실패 모드 사가 실패 모드
사가를 개별 트랜잭션으로 분해하려면, 실패 처리 방법(더 구체적으로는 실패 발생 시의 복구
방법 )을 고려해둬야 한다. 앞서 기술한 사가에 대한 첫 논문에는 역방향 복구
backward
recovery
순방향 복구
forward
recovery
라는 두 가지 복구 유형이 기술돼 있다.
역방향 복구역방향 복구
에는 실패 복구와 이후에 일어나는 정리 작업인 롤백이 포함된다. 이 작업을 수행하
려면 이전에 커밋된 트랜잭션을 취소하는 보상 조치를 정의해둬야 한다.
정방향 복구정방향 복구
는 실패가
발생한 지점에서 데이터를 가져와 계속 처리할 수 있다. 이 작업을 수행하려면 트랜잭션을 재
시도할 필요가 있으며, 이는 우리의 시스템이 재시도를 위한 충분한 정보를 보유하고 있음을
의미한다.
모델링할 비즈니스 프로세스의 특성에 따라 여러분은 실패 모드에서 역방향 복구나 정방향 복
구, 또는 이 두 가지를 혼합하는 상황을 ...
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