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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
243
11
장
대용량 프레임워크 마이크로서비스
통해 마이크로서비스에 배포하고 워커 리소스는 대용량 클러스터에서 획득합니다. 드라이버를
종료하려면 여느 마이크로서비스처럼 그냥 정지시키면 됩니다.
11.5.2
클러스터 모드
클러스터 모드는 스파크, 플링크에서 지원되며 스톰, 헤론에서는 기본 잡 배포 모드입니다. 이
모드에서는 전체 애플리케이션을 실행/관리하기 위해 클러스터에 제출하면 고유한
ID
가 호출
부 함수로 반환됩니다. 클러스터
API
를 통해 애플리케이션을 식별하고 어떤 명령을 내리려면
이
ID
가 꼭 필요합니다. 클러스터 모드에서는 클러스터에 직접 명령을 내려 애플리케이션을
배포/정지시키는데, 이런 점이 마이크로서비스 배포 파이프라인과 잘 안 맞을 수도 있습니다.
11.6
상태 처리와 체크포인트 활용
상태 저장 작업
stateful
operation
은 내부 상태, 외부 상태 중 하나로 저장할 수 있지만(
7
장 참고 ), 성
능과 확장성을 중시하는 대용량 프레임워크는 내부 상태를 선호하는 편입니다. 상태 저장 레코
드는 신속한 액세스를 위해 메모리에 유지하며 상태가 점점 늘어나 가용 메모리를 초과하면 디
스크에 기록하여 데이터를 보존합니다. 내부 상태를 사용할 경우에는 디스크 고장으로 인한 상
태 유실, 노드 장애, 그리고
CMS
가 공격적으로 확장을 시도하는 과정에서 일시적으로 상태가
중단되는 등의 위험이 따르지만, 성능 향상으로 얻는 이점이 이러한 잠재적 리스크보다 훨씬
크기 때문에 계획을 잘 세우면 슬기롭게 해결할 수 있습니다.
체크포인트 ...
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