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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
91
2
마이크로서비스 모델링 방법
통과 결합을 줄이는 데 유용한 마지막 방법은 주문 처리기가 여전히 창고를 통해 배송 마이크
로서비스로 배송 목록을 보내지만 창고가 배송 목록 자체의 구조를 전혀 알지 못하게 하는 것
이다. 주문 처리기는 주문 요청의 일부로 배송 목록을 보내더라도 창고 서비스가 그 필드를 보
거나 처리하지 못하게 한다 (데이터 덩어리로만 취급하고 내용은 신경 쓰지 않으며, 단지 전달
만 한다). 배송 목록의 형식을 변경하려면 주문 프로세스와 배송 마이크로서비스를 모두 변경
해야 하지만, 창고 서비스는 실제로 그 목록의 내용물에는 관심이 없기 때문에 변경할 필요가
없다.
2.3.32.3.3
공통 결합 공통 결합
공통 결합공통 결합
common
coupling
은 둘 이상의 마이크로서비스가 공통 데이터 집합을 사용할 때 발생한다.
이러한 결합 형태의 단순하고 일반적인 예는 동일한 공유 데이터베이스를 여러 마이크로서비
스가 사용하는 경우지만, 공유 메모리나 공유 파일 시스템을 사용하는 경우도 해당될 수 있다.
공통 결합의 주요 문제점은 데이터 구조를 변경하면 한 번에 여러 마이크로서비스에 영향을 미
친다는 것이다. [그림
2
-
7
]과 같은 일부 뮤직코프 서비스의 예를 생각해보자. 앞서 설명한 것
처럼 뮤직코프는 전 세계에서 사업을 운영하고 있으므로 사업을 영위하는 국가에 대한 다양한
정보가 필요하다. 이 예에서는 여러 서비스가 모두 공유된 데이터베이스에서 정적 참조 데이터
를 읽고 있다. 따라서 이 데이터베이스의 스키마가 하위 호환되지 ...
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