Skip to Content
진화적 아키텍처
book

진화적 아키텍처

by 닐 포드, 레베카 파슨스, 패트릭 쿠아, 정병열
August 2023
Beginner to intermediate
304 pages
6h 47m
Korean
Hanbit Media, Inc.
Content preview from 진화적 아키텍처
162
2부
구조
5.4.2 5.4.2
사이드카사이드카 및 서비스 메시: 직교 운영 커플링 및 서비스 메시: 직교 운영 커플링
마이크로서비스 아키텍처의 설계 목표 중 하나는 높은 수준의 분리도다. 이 목표는 종종 ‘중복
이 결합보다 낫다’는 금언으로 표현되곤 한다.
PenultimateWidgets
의 두 서비스를 예로 들
어보자. 이 두 서비스는 모두 고객 정보를 전달하며, 도메인 주도 설계의 경계 콘텍스트 원칙
에 따라 서비스의 세부 구현 사항을 내부에서 비공개로 유지한다. 이 경우 일반적으로 각 서비
스는 내부에서 고유하게
Customer
엔티티를 표현하며 느슨하게 결합된 형식으로 전달한다.
JSON
의 이름/값 쌍을 생각하면 쉽다. 이러한 방식으로 각 서비스는 통합을 저해하지 않고 내
부의 고객 표현과 기술 스택을 자유롭게 변경할 수 있다. 일반적으로 아키텍트는 중복 코드를
보며 눈쌀을 찌푸리곤 한다. 중복은 동기화, 의미론적 변화
semantic
drift
등 기타 여러 문제를 유발
하기 때문이다. 그러나 중복보다 더 해로운 힘이 작용할 때가 있는데, 마이크로서비스 아키텍
처의 커플링이 바로 그런 존재에 해당한다. ‘이 기능은 중복과 커플링 중 어느 쪽에 적합한가’에
대한 대답은 상황에 따라 다르다. 마이크로서비스 스타일의 아키텍처는
중복
을,
SOA
기반 아
키텍처는
커플링
을 채택할 가능성이 높다.
마이크로서비스를 설계하는 아키텍트는 커플링을 지양하기 위해 현실적으로 중복 구현과 타
협해야 한다. 그러나 모니터링, 로깅, 인증, 권한 ...
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

머신러닝 시스템 설계

머신러닝 시스템 설계

칩 후옌
고성능 파이썬(2판)

고성능 파이썬(2판)

오현석, 미샤 고렐릭, 이안 오스발트
러닝 타입스크립트

러닝 타입스크립트

조시 골드버그

Publisher Resources

ISBN: 9791169211345