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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
259
12
장
경량 프레임워크 마이크로서비스
레임워크와 잘 버무리면 요즘 마이크로서비스에 필요한 애플리케이션 배포/관리 기능은 대용
량 프레임워크보다 오히려 더 낫습니다.
12.3
상태 처리와 체인지로그 활용
경량 프레임워크의 기본 작동 모드는 이벤트 브로커에 저장된 체인지로그를 기반으로 내부 상
태를 사용하는 것입니다. 내부 상태를 이용하면 각 마이크로서비스가 배포 구성에 따라 획득한
리소스를 스스로 제어할 수 있습니다.
TIP
경량 애플리케이션은 각자 완전히 독립적으로 움직입니다. 필요에 따라 고성능 로컬 디스크에서 인스턴스를 실
행할 수도 있고, 속도는 느리지만 용량이 매우 큰 하드 디스크 드라이브에서 인스턴스를 실행할 수도 있습니다.
다양한 스토리지 엔진도 끼워넣을 수 있어서 모델과 쿼리 엔진이 다른 외부 상태 저장소를 이
용할 수 있습니다. 경량 프레임워크가 가진 모든 이점을 충분히 누리면서 그래프 데이터베이스
graph
database
1
, 문서 저장소
document
store
같은 옵션도 동시에 사용할 수 있습니다.
대용량 프레임워크의 체크포인트 모델과 달리, 경량 프레임워크는 내부 상태 저장소를 사용하
며 이벤트 브로커를 이용해서 체인지로그를 저장합니다. 체인지로그는 확장 및 장애 복구에 필
요한 보존성을 제공합니다.
12.4
애플리케이션 확장과 실패 복구 ...
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