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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
149
4
마이크로서비스 통신 방식
서비스에 호출을 보낸다.
CD
를 찾고, 선반에서 꺼내고, 포장하고, 픽업하는 프로세스는 실제
발송 프로세스의 작동 방식에 따라 몇 시간이 걸릴 수 있고 심지어는 며칠이 소요될 수도 있다.
따라서 주문 처리기가 창고 서비스에 대한 비동기식 논블로킹 호출을 하고 이후 창고 서비스가
역호출
call
back
해 주문 처리기에 진행 상황을 알리는 것이 적절하다. 이것이 바로 비동기 요청 및
응답 통신의 한 형태다.
동기식 블로킹 호출과 유사한 방식으로 시도했다면 주문 처리기와 창고 서비스 간의 상호작용
을 재구성해야 한다. 즉, 주문 처리기가 커넥션을 열어 요청을 보내고, 호출한 스레드에서 추가
작업을 막고, 몇 시간 또는 며칠이 될지 모르는 응답을 기다리는 것은 실현 가능성이 없다.
4.5.24.5.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