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

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

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
349
16
장
이벤트 기반 마이크로서비스 배포
이 배포 패턴은 다음과 같은 경우에 알맞습니다.
●
새 필드가 입력 이벤트에 추가되어 비즈니스 로직에 반영해야 한다.
●
새로운 입력 스트림을 소비해야 한다.
●
버그를 고쳐야 하지만 재처리는 하지 않아도 된다.
WARNING
_
내부 마이크로서비스 토폴로지를 별 생각 없이 변경하는 것은 이 배포 패턴을 사용하는 사람
들이 가장 많이 저지르는 실수입니다. 토폴로지 변경은 중대한 변경이므로 롤링 업데이트가 아니라 전체 애
플리케이션을 리셋해야 합니다.
롤링 업데이트 중에는
16
.
3
절 ‘기본 풀-스톱 배포 패턴’의
4
단계만 달라집니다. 각 인스턴스를
동시에 중지시키는 게 아니라 한번에 인스턴스 하나씩 중지시키고 업데이트 후 재기동하면 배
포하는 도중에 새 인스턴스와 옛 인스턴스가 함께 실행됩니다. 롤링 업데이트란 말 자체가 짧
은 시간 동안 옛 로직과 새 로직이 동시에 작동됨을 의미합니다.
TIP
릴리스 호환성을 체크해서 롤링 업데이트에 문제가 없는지 알려주는 테스트를 마이크로서비스에서 실행한다
면 더 스마트하겠죠. 이런 작업을 수동으로 하는 건 오류가 발생하기 쉬우니 삼가는 것이 좋습니다.
롤링 업그레이드 패턴은 실시간에 가깝게, 무중단 서비스 업데이트가 가능한 장점은 있지만 제
약이 많아 특정한 경우에만 사용 가능한
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