Skip to Content
이벤트 기반 마이크로서비스 구축
book

이벤트 기반 마이크로서비스 구축

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
279
13
장
이벤트 기반 마이크로서비스와 요청 - 응답 마이크로서비스의 통합
4
) 인스턴스
추가
3
) 해당 인스턴스로 요청
을 라우팅
2
) 파티셔너 적용
로드 밸런서 로드 밸런서
파티션 기반 라우팅 코드 파티션 기반 라우팅 코드
1
) 요청
5
) 컨슈머 그룹 리더는 리밸런스 시 로드 밸런서의 라우팅
테이블을 업데이트한다.
마이크로
서비스
인스턴스
0
마이크로
서비스
인스턴스
0
마이크로
서비스
인스턴스
1
마이크로
서비스
인스턴스
1
마이크로
서비스
인스턴스
2
그림
13-7
로드 밸런서를 이용해서 컨슈머 그룹 소유권 및 파티셔너 로직에 따라 요청을 올바르게 전달한다.
스마트 로드 밸런서는 파티셔너 로직을 적용해 파티션
ID
를 얻고 이를 컨슈머 그룹 할당 내부
테이블과 대조한 결과에 따라 요청을 전달합니다. 파티션 할당은 내부 리파티션 스트림이나 주
어진 상태 저장소의 체인지로그 스트림을 보고 추론할
infer
수 있습니다. 그러나 이 방법은 로드
밸런서와 애플리케이션 로직을 복잡하게 만들기 때문에 상태 저장소를 개명하거나
rename
토폴
로지를 변경하면 전달 자체가 실패할 수도 있습니다. 가급적 이런 오류는 프로덕션 배포 전에
걸러내야 하므로 스마트 로드 밸런서를 마이크로서비스의 단일 배포체 및 테스트 프로세스의
일부로 구성하는 것이 좋습니다.
WARNING
_
스마트 ...
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

헤드 퍼스트 자바(3판)

헤드 퍼스트 자바(3판)

케이시 시에라, 버트 베이츠
클라우드 핀옵스: 비용은 최소화 운영은 최적화

클라우드 핀옵스: 비용은 최소화 운영은 최적화

오성근, J. R. 스토먼트, 마이크 풀러

Publisher Resources

ISBN: 9791162244173