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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
501
12
회복 탄력성
즉, 일관성을 보장하기 위해 여러 데이터베이스 노드에 걸친 트랜잭션 읽기를 시작해야 한다.
하지만 일반적으로 사람들은 트랜잭션 읽기를 수행하고 있지 않은데, 느리기 때문이다. 잠금
lock
이 필요하며, 한 번의 읽기가 전체 시스템을 블록시킬 수 있다.
이미 논의했듯이 분산 시스템은 실패를 예상해야 한다. 일관된 노드 집합에서 트랜잭션 읽기를
생각해보자. 읽기가 시작되는 동안 특정 레코드를 잠그도록 원격 노드에 요청한다. 읽기를 완
료하고 원격 노드에 잠금을 해제해달라고 요청했지만, 이제는 원격 노드와 통신할 수 없다. 어
떻게 해야 할까? 잠금은 단일 프로세스 시스템에서도 제대로 구현하기가 매우 어렵고, 물론 분
산 시스템에서는 훨씬 더 구현하기 어렵다.
6
장에서 분산 트랜잭션에 대해 이야기했던 것을 기억하는가? 분산 트랜잭션이 어려운 핵심적
인 이유는 여러 노드에서 일관성을 보장하는 것, 바로 이 문제 때문이다.
다중 노드 일관성을 제대로 확보하는 것은 매우 어려우므로, 만약 필요하다면 직접 개발하지
않기를 매우
강력히강력히
권하고 싶다. 대신 이러한 특성을 제공하는 데이터 저장소나 잠금 서비스
를 고르길 바란다. 예를 들어,
5
.
9
.
2
절 ‘동적 서비스 레지스트리’에서 설명한 콘술은 여러 노드
간에 구성 정보를 공유하도록 설계된 강력한 일관성이 있는 키/값 저장소를 구현한다. ‘친구는
다른 친구가 자신의 암호를 쓰게 하지 않는다
Friends
don
t
let
friends
write
their
own
crypto ...
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