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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
162
이벤트 기반 마이크로서비스 구축
카프카 스트림즈
1
같은 프레임워크는 체인지로그를 기본 제공하지만 애플리케이션 개발자가
직접 구현할 수도 있습니다. 기본 프로듀서/컨슈머 클라이언트는 체인지로그나 상태 저장을 전
혀 지원하지 않습니다.
7.3
내부 상태 저장소에 상태 구체화
내부 상태 저장소는 마이크로서비스의 비즈니스 로직과 동일한 컨테이너 또는
VM
환경에 함
께 둡니다. 이 상태 저장소는 마이크로서비스 인스턴스가 존재할 경우에만 의미가 있고 둘 다
동일한 기반 하드웨어에서 실행됩니다.
각 마이크로서비스 인스턴스는 자신에게 할당된 파티션의 이벤트를 구체화하고 상태 저장소
내부에서 각 파티션별 데이터를 논리적으로 분리합니다. 이렇게 파티션을 논리적으로 나누어
구체화하기 때문에 마이크로서비스 인스턴스는 컨슈머 그룹 리밸런스 이후 회수된 파티션의
상태를 그냥 삭제할 수 있습니다. 구체화 상태는 파티션을 소유한 인스턴스에만 존재하므로 리
소스 누수가 생기고 진실 공급원이 쪼개지는 불상사도 막을 수 있죠. 파티션이 새로 할당되면
이벤트 스트림이나 체인지로그의 입력 이벤트를 소비해서 재구성할 수도 있습니다.
락스
DB
RocksDB
같은 고성능 키/값 저장소는 주로 내부 상태 저장소로 쓰이며 로컬
SSD
에서 최
적화되어 있기 때문에 할당된 메인 메모리를 초과한 데이터 ...
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