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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
240
2
구현
6.36.3
분산 트랜잭션 - 그냥 안 된다고 하라 분산 트랜잭션 - 그냥 안 된다고 하라
지금까지 설명한 모든 이유를 고려하면, 필자는 마이크로서비스 전반에 걸친 상태 변화를 조정
하는
2
단계 커밋 같은 분산 트랜잭션은 피해야 한다고 강력히 제안한다. 그렇다면 대안은 무엇
일까?
첫 번째 선택지는 처음부터 데이터를 분리하지 않는 방법이다. 정말 원자적이고 일관된 방식으
로 관리하려는 상태 조각이 있고
ACID
스타일의 트랜잭션 없이 이런 특성
characteristics
을 현명하
게 얻는 방법을 찾지 못할 경우, 해당 상태를 단일 데이터베이스에 남겨두고 단일 서비스 (또는
모놀리스)에서 해당 상태를 관리하는 기능도 그대로 남겨두자. 모놀리스를 어디서 분할해야
하고 어떤 분해 작업이 쉬울지(또는 어려울지 )를 고민하는 중이라면, 현재 트랜잭션에서 관리
되는 데이터를 분할하는 것이 지금 당장 처리하기에 어렵다고 판단할 수 있다. 따라서 시스템
의 다른 영역부터 작업한 다음, 나중에 다시 이 문제로 돌아오자.
그러나 정말로 이 데이터를 분해해야 하지만, 분산 트랜잭션 관리에 따르는 모든 고통을 원치
않는다면 어떻게 해야 할까? 여러 서비스에서 작업을 수행하면서도 잠금을 피할 수 있는 방법
은 무엇일까? 작업에 몇 분, 며칠, 심지어 몇 달이 걸린다면 ...
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