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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
235
6
워크플로
이 책은
ACID
개념을 자세하고 심도 있게 다루지 않으므로 몇몇 설명은 간단히 정리했다. 이
개념을 좀 더 자세히 살펴보고 싶다면 마틴 클래프만
Martin
Kleppmann
이 저술한 『데이터 중심 애플
리케이션 설계』(위키북스,
2018
)를 읽어보길 바란다. 이어지는 내용에서는 주로 원자성에 집
중한다. 다른 속성들이 중요하지 않다는 말은 아니지만, 원자성은 트랜잭션 경계를 분리할 때
가장 먼저 겪게 될 문제일 가능성이 높다.
6.1.26.1.2
여전히 여전히
ACIDACID
이지만 원자성이 부족한가?이지만 원자성이 부족한가?
마이크로서비스를 분리할 때
ACID
방식의 트랜잭션은 여전히 사용 가능하다는 점을 분명히
밝혀둔다. 예를 들어 마이크로서비스는 자기 데이터베이스에 대한 연산에
ACID
트랜잭션을
자유롭게 사용한다. 그 트랜잭션의 상태 변경 범위는 한 마이크로서비스 내부의 로컬로 국한된
다. [그림
6
-
1
]을 살펴보자. 이 그림에서는 새로운 고객을 뮤직코프에 온보딩
onboarding
하는 것
과 관련된 프로세스를 추적하고 있다. 고객
2346
의 상태 (
Status
)를 보류 중 (
PENDING
)에서
확인 (
VERIFIED
)으로 변경하는 프로세스의 마지막 단계에 왔다. 이제 등록이 완료됐으므로
PendingEnrollments
테이블에서 일치하는 행도 제거하길 원한다. 하나의 데이터베이스를
사용하면 한
ACID
데이터베이스 트랜잭션 범위 내에서 이 작업이 수행된다. 이러한 상태 변경
은 두 상태 모두 변경되거나 ...
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