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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
171
5
마이크로서비스의 통신 구현
이전 장에서 논의했듯이 어떤 기술을 선택할지는 원하는 통신 방식에 따라 대부분 결정돼야 한
다. 따라서 동기식 블로킹 호출이나 비동기식 논블로킹 호출, 요청 및 응답이나 이벤트 기반 협
업 중에서 어느 통신 방식을 도입할지 결정하면 방대한 기술 후보군을 줄여나가는 데 도움이
된다. 이 장에서는 마이크로서비스 통신에 일반적으로 사용되는 몇 가지 기술을 살펴본다.
5.15.1
이상적인 기술을 찾아서 이상적인 기술을 찾아서
한 마이크로서비스가 다른 마이크로서비스와 통신하는 방법에는 다양한 선택지가 있다. 하지
SOAP
,
XML
-
RPC
,
REST
,
gRPC
중 어느 것이 적합할까? 항상 새로운 선택지는 등장한
다. 따라서 특정 기술을 논의하기 전에 우리가 선택한 기술에서 무엇을 원하는지 생각해보자.
5.1.15.1.1
하위 호환성을 쉽게 하라 하위 호환성을 쉽게 하라
마이크로서비스를 변경할 때는 이 서비스를 소비하는 마이크로서비스와의 호환성이 깨지지 않
도록 해야 한다. 따라서 어떤 기술을 선택하든 하위 호환되는 변경을 쉽게 할 수 있길 원한다.
새 필드를 추가하는 등의 간단한 작업으로 클라이언트가 중단되면 안 된다. 또한 변경 사항이
이전 버전과 호환되는지 검증할 수 있는 기능과 마이크로서비스를 운영 환경에 배포하기 전에
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