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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
500
2
구현
12.7.112.7.1
일관성 희생 일관성 희생
재고 마이크로서비스를 완전히 종료하지 않는 것으로 가정해보자. 지금
DC1
의 데이터를 변경
하면
DC2
의 데이터베이스는 이를 인식하지 못한다. 따라서
DC2
의 재고 노드에 대한 모든 요
청은 잠재적으로 지난 데이터를 보게 된다. 두 노드 모두 요청을 처리할 수 있고
단절단절
됨에도 불
구하고 시스템을 계속 실행할 수 있다는 점에서 시스템은 여전히
가용가용
하지만,
일관성일관성
을 잃게 된
다는 점에서 세 가지 특징을 모두 유지하지는 못한다. ‘가용성
availability
’과 ‘단절내성
partition
tolerance
의 영문 첫 글자인
A
P
를 따서 이와 같은 시스템을 흔히
AP
시스템이라고 한다.
이 단절 동안 쓰기를 계속 허용하면, 미래의 어느 시점에 다시 동기화해야 한다는 사실을 받아
들여야 한다. 단절 기간이 오래 지속될수록 재동기화는 더욱 어려워질 수 있다.
현실적으로 데이터베이스 노드 간에 네트워크 장애가 발생하지 않더라도 데이터 복제는 즉각
적으로 이뤄지지는 않는다. 앞서 언급했듯이 단절내성과 가용성을 유지하기 위해 일관성을 기
꺼이 양보하는 시스템은
최종 일관성최종 일관성
eventual
consistency
이 있다고 한다. 즉, 미래의 어느 시점에 모
든 노드가 업데이트된 데이터를 볼 수 있길 기대하지만, 한 번에 이뤄지지는 않으므로 사용자
는 여전히 이전 데이터를 볼 가능성을 감수해야 한다.
12.7.212.7.2
가용성 희생 가용성 희생
일관성을 유지해야 해서
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