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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
208
이벤트 기반 마이크로서비스 구축
적인 구현 로직입니다.
TIP
함수 기반 마이크로서비스 구현체는 다른 비
FaaS
마이크로서비스처럼 각자 독립적인 컨슈머 그룹을 가집니다.
지금까지는 일단 함수를 트리거하고 기동하는 데 필요한 컴포넌트를 논리적으로만 표현해봤습
니다. 함수 코딩 규칙, 함수 관리, 트리거 메커니즘은
FaaS
프레임워크 공급사나 구현체마다
조금씩 다르기 때문에
FaaS
프레임워크 문서를 잘 읽어보세요. 또한 트리거 메커니즘, 이벤트
소비, 컨슈머 오프셋, 중첩 함수, 실패, 적어도 한 번 이상 이벤트 처리 등의 주제는 약간 복잡
하고 서로 미묘하게 얽혀있습니다. 이 장의 나머지 부분에서 하나씩 살펴보겠습니다.
9.4
콜드 스타트, 웜 스타트
콜드 스타트
cold
start
는 함수가 처음 시작되거나 꽤 오랜 휴지기 이후의 함수 기본 상태입니다. 컨
테이너를 시작해서 코드를 로드하고, 이벤트 브로커에 연결하고, 필요한 외부 리소스에 클라이
언트 접속을 맺는 일련의 작업들을 마치고 처리할 준비가 끝나면 함수는 이벤트 처리를 시작할
수 있는 웜
warm
상태로 바뀝니다. 웜 상태의 함수는 이벤트를 처리하기 시작하고 작업 완료 또
는 만료 시 일시 중지되어 동면 상태가 됩니다.
대부분의
FaaS
프레임워크는 가능하면 언제나 종료된 함수를 재사용하려고 시도합니다. ...
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