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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
163
7
장
상태 저장 스트리밍
상태를 비교한 그림입니다.
이벤트 스트림
A
파티션
0
이벤트 스트림
A
파티션
1
이벤트 스트림
B
파티션
0
이벤트 스트림
B
파티션
0
이벤트 스트림
B
파티션
1
이벤트 스트림
B
파티션
1
스트림
A
-
0
-
상태
스트림
A
-
1
-
상태
앱 노드
0
앱 노드
1
구체화 구체화
구체화 구체화
구체화 구체화
스트림
B
-
전역 상태
스트림
B
-
전역 상태
그림
7-4
전역 구체화 상태와 비전역 구체화 상태
전역 상태 저장소는 각 마이크로서비스 인스턴스에 전체 데이터 세트가 필요한 경우에 유용하
며, 자주 쓰이면서도 좀처럼 변경될 일이 없는 소규모 데이터 세트로 구성합니다. 각 인스턴스
마다 전체 데이터 사본을 갖고 있어 출력이 중복되거나 비확정적 결과가 초래될 가능성이 있기
때문에 전역 구체화는 이벤트 기반 로직을 일으키는 동인
driver
으로서는 효과적이지 않습니다.
그러므로 공통 데이터 세트 검색이나 치수
dimension
테이블 정도에 한하여 전역 구체화를 하는 편
이 가장 좋습니다.
7.3.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

헤드 퍼스트 자바(3판)

헤드 퍼스트 자바(3판)

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

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

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

Publisher Resources

ISBN: 9791162244173