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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
165
7
장
상태 저장 스트리밍
수 있다는 점입니다. 처리 노드가 다시 활성화되면 네트워크 디스크를 다시 붙여 중단된 곳부
터 다시 처리하면 되겠죠. 굳이 수고스럽게 체인지로그 스트림에서 이벤트를 재구성할 필요가
없습니다. 따라서 로컬 디스크처럼 상태가 완전히 일시적
ephemeral
인 것은 아니므로 중단 시간을
크게 줄일 수 있고, 저렴한 온디맨드
on
-
demand
노드를 사용하듯 마이크로서비스를 컴퓨팅 리소
스 여기저기 옮겨다니며 유연하게 서비스할 수 있습니다.
7.3.3
내부 상태의 단점
런타임에 정의된 디스크를 사용할 수밖에 없다
내부 상태 저장소는 서비스 런타임이 위치한 노드에 부착된 디스크만 사용할 수 있습니다. 디
스크 볼륨을 변경하려면 일단 서비스를 멈추고 볼륨을 조정한 다음 서비스를 재시작해야 합니
다. 또 볼륨 크기를 줄이면 이미 존재하는 데이터를 삭제해야 하므로 컴퓨팅 리소스를 관리하
는 대부분의 솔루션은 볼륨 크기를 늘리는 것만 가능합니다.
디스크 공간 낭비
쇼핑몰 사이트에서 하루 중 발생하는 트래픽이 오르락내리락하는 것처럼 일정 시간마다 되풀
이되는 데이터 패턴 때문에 순환 스토리지 볼륨
cyclical
storage
volume
이 필요합니다. 즉, 트래픽이 가
장 몰릴 때에는 디스크 용량이 최대로 필요하지만 그밖의 시간에는 적은 용량만 있어도 충분하
죠. 항시 전체 디스크를 확보해두는 것은 저장된 데이터 바이트 단위로 과금하는 외부 서비스
에 비해 공간 및 비용 낭비를 초래할 수 있습니다.
7.3.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