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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
213
9
장
FaaS 응용 마이크로서비스
되므로 비즈니스 워크플로에서 특정 리소스에 트리거를 걸어둘 일은 많지 않겠지만, 외부 데이
터 소스와 연계할 때
FTP
또는 다른 파일 서비스로 파일을 집어넣어야 할 경우에는 아주 요긴
합니다.
9.6
비즈니스 업무를 함수로 처리
FaaS
접근 방식은 필요한 만큼 유연하게 리소스를 프로비저닝하는 솔루션에 잘 맞습니다. 상
태를 저장하지 않고, 여러 이벤트 스트림을 확정적으로 처리할 필요가 없고, 큐 방식으로 처리
하는 경우처럼 확장의 폭이 매우 넓은 단순한 토폴로지가 알맞을 가능성이 높습니다. 뭔가 그
양이 매우 가변적인 경우에는 필요할 때마다 수평 확장이 가능하고 컴퓨팅 리소스를 신속하게
프로비저닝하고 해제할 수 있는
FaaS
솔루션이 여러모로 이점이 많을 것입니다.
특히,
FaaS
솔루션은 동시성
concurrency
과 확정성
determinism
이 관심사가 아닌 경우에 아주 잘 동작
합니다. 하지만 어떤 식으로는 확정성이 문제가 된다면 이벤트 스트림 처리의 정확성과 일관성
을 고민해야 합니다. 다음 장에서 이야기할 기본 컨슈머 솔루션도 마찬가지로
FaaS
솔루션도
일관된 처리 결과를 얻으려면 이벤트 스케줄러를 제공해야 합니다. 코파티션된 데이터는 한 번
에 하나의 함수로만 성공적이고 일관되게 처리할 수 있습니다. 완전한 기능을 갖춘 경량/대용
량 프레임워크에서 오직 하나의 스레드만 사용해야 하는 것과 비슷한 원리입니다.
9.7
상태 관리
함수는 수명이 짧아서 대부분의 상태 저장
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