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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
308
자바 마이크로서비스를 활용한
SRE
7.1
잠재적 장애 요소가 많은 마이크로서비스
마이크로서비스가 사용자와 주고받는 상호작용이 늘어날수록 저가용성 인스턴스가 발생할 가
능성은 높아진다. 다운스트림 서비스에 부하가 가중되면 서비스가 중단될 위험에 처한다.
호출 복원 패턴은 다운스트림 서비스에 부정적 영향을 미치는 방식으로 서비스를 보호한다. 최
종 사용자에게 제공되는 서비스는 축소되지만 그 덕분에 서비스는 유지된다. 예를 들어 넷플릭
스는 평소에 사용자 맞춤 추천 목록을 제공하다가 개인화 서비스의 가용성이 저하되면 추천 목
록을 일반형으로 교체한다.
이러한 조치는 다양한 로드 밸런싱 전략으로 구현한다.
마이크로서비스는 일반적으로 분산 시스템 복원력을 높이기 위해 여러 가용 영역에 수평 확장
가능하도록 배포된다. 마이크로서비스들은 정적으로 유지되지 않는다. 언제나 일부는 릴리스
(배포 또는 카나리), 확장, 이동, 장애 등의 상황에 처해 있으며 모두 같은 상태인 경우는 없
다. 일부는 일시적으로 중단되거나 성능이 저하되기도 한다. 이렇듯 역동적이고 변화무쌍한 시
스템은 서비스의 최초 진입점을 파악하고 트래픽을 전달할 인스턴스를 선정하기까지 전과정을
동적으로 라우팅할 수 있는 트래픽 방법론을 도입해야 한다.
트래픽 제어는 주로 애플리케이션 프레임워크 코드 또는 지원 인프라를 통해 구현한다. 플랫
폼, 게이트웨이 로드 밸런서, 서비스 메시 등은 후자에 속한다. 두 곳 모두에 구현하는 경우도
있다. 일반적으로 애플리케이션 프레임워크에 구현하는 ...
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