Skip to Content
클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드
book

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

by 정원천, 보리스 숄, 트렌트 스완슨, 피터 야우쇼베츠
June 2020
Beginner to intermediate
252 pages
4h
Korean
Hanbit Media, Inc.
Content preview from 클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드
76
클라우드 네이티브
대략적으로 보면
CID
를 이용해 요청과 응답을 처리하는 건 다음 단계를 따릅니다.
1
.
[그림
3
-
10
]에서는 서비스
A
ID
12
를 가진 사용자 이름 레코드에 대한 요청을 생성합
니다. 이후,
CID
12
를 가진 메시지가 반환되기를 기다립니다.
2
.
서비스
B
는 큐에서 메시지를 가져와서 해당 사용자에 대한 데이터를 검색하고
ID
12
대한
CID
를 할당합니다.
3
.
서비스
B
는 사용자 데이터의 응답에
CID
12
를 추가하고 응답을 보냅니다. 응답 큐는
CID
3
,
5
,
21
같은 많은 응답을 가져올 수 있습니다.
4
.
서비스
A
는 요청
ID
와 관련이 있는
CID
를 가진 응답을 가져옵니다.
3.5.6
발행자와 구독자
발행자와 구독자는 클라우드 네이티브 애플리케이션에서 비동기 통신을 촉진하기 위한 가장
일반적인 패턴입니다. 발행자가 토픽에 메시지를 발행하면 해당 토픽을 구독하고 있는 모든 구
독자가 그 메시지를 즉시 가져갑니다.
pub
/
sub
은 크게 두 가지 시나리오를 제공합니다.
발행자와 구독자가 분리되어 있어서 서비스와 함수가 느슨하게 커플링됩니다.
이벤트 기반 설계가 가능해서 클라우드 네이티브 애플리케이션에서 보편적인 인기를 얻
고 있는 설계 방법입니다.
크게 보면,
pub
/
sub
은 다음 단계를 따릅니다. [그림
3
-
11
]이 그 내용을 보여줍니다.
1
.
서비스
A
는 토픽에 메시지를 발행합니다.
2
.
메시징 브로커는 해당 토픽을 구독하고 있는 모든 구독자에게 알립니다.
3
.
구독자들이 메시지를 가져갑니다. ...
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

훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우

훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우

최원재, 강전희, 안재덕, 남윤화, 피트 구들리프
쿼커스 쿡북: 쿠버네티스를 위한 네이티브 자바 솔루션

쿼커스 쿡북: 쿠버네티스를 위한 네이티브 자바 솔루션

유동환, 알렉스 소토 부에노, 제이슨 포터
클라우드 네이티브 애플리케이션 디자인 패턴

클라우드 네이티브 애플리케이션 디자인 패턴

카순 인드라시리, 스리스칸다라자 수호티얀

Publisher Resources

ISBN: 9791162243183