Skip to Content
자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
book

자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
244
자바 마이크로서비스를 활용한
SRE
에서 아마존 머신 이미지를 변경하고 오토 스케일링 그룹을 재설정할 때도 이 전략이 쓰인다. 요
점은,
CLI
또는 콘솔 기반 배포 도구는 종종 이 전략을 채택하며 다운타임을 용인한다는 것이다.
다음에 설명할 전략은 이번 절의 전략과 비슷하지만 다운타임이 없다.
5.6
하이랜더
하이랜더 전략은 현재 가장 대중적인 무중단 전략 중 하나다. 다소 특이한 이 명칭은 동명의 영
화 <하이랜더>의 유명한 대사, ‘오직 한 명만 살아남는다’에서 유래했다. 신규 서비스 버전을 배
포하면 이전 버전이 대체된다. 배포가 끝났을 때 실행되고 있는 서비스는 신규 버전뿐이다. 오
직 새 버전만 살아 남는 것이다.
하이랜더 전략은 다운타임이 없다. 실제로 이 전략은 신규 버전을 배포하며 동시에 로드 밸런
서에 추가한다. 이전 버전이 자동으로 삭제되는 짧은 시간 동안 양쪽 모두에 트래픽이 제공된
다. 따라서 이 배포 전략은 ‘대체로 하나만 살아남는다’는 표현이 더 알맞다. 이 짧은 중복 기간
동안
API
호환성이 필수적으로 요구되기 때문이다.
하이랜더 모델은 특유의 단순함으로 많은 서비스가 매력을 느끼는 전략이다. 비정상적인 ‘다른’
버전이 서비스에 존재하면 버전 사이에 간섭 작용이 생길 위험이 있다. 그러나 하이랜더 전략
은 어느 시점이든 하나의 서버 그룹만 존재하므로 이러한 간섭을 조율할 필요가 없다.
하이랜더 전략에서 코드를 이전 버전으로 되돌리려면 마이크로서비스를 다시 설치해야 한다.
서버 그룹 버전도 새로 지정된다. ...
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

처음 시작하는 파이썬: 파이썬 패키지를 활용한 모던 컴퓨팅 입문

처음 시작하는 파이썬: 파이썬 패키지를 활용한 모던 컴퓨팅 입문

최길우, 빌 루바노빅

Publisher Resources

ISBN: 9791162245286