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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
326
자바 마이크로서비스를 활용한
SRE
7.7
호출 복원 패턴
모든 예측은 과거 성능을 기반으로 수립된다. 로드 밸런서가 최적 인스턴스를 얼마나 정확하게
예측하고 선정하든 이 사실은 변함이 없다. 과거의 성능은 결코 미래의 결과를 보장해주지 않
는다. 따라서 실패에 대비한 다른 복원 절차를 마련해야 한다. 완벽한 로드 밸런서를 앞세운 클
러스터도 처리량은 제한적이다. 가용 자원이 가장 많은 인스턴스를 골라 정확하게 트래픽을 할
당해도 한계 처리량 이상에 대응할 수는 없다. 서비스 과부하는 완전한 중단을 야기하며 마이
크로서비스 아키텍처의 모든 계층은 이러한 과부하로부터 보호받아야 한다.
이러한 보호 메커니즘들이 모여 다양한 ‘배압
backpressure
’ 구조를 형성한다.
배압은 서빙 시스템에서 요청 시스템을 향한 장애 신호 체계며, 요청 시스템이 자신과 서빙 시스템
의 과부하를 막기 위해 도입하는 방지책이다. 배압을 고려해 설계한다는 것은 곧 과부하 및 시스템
장애 기간 동안 가용 리소스를 제한한다는 의미다. 이는 견고한 분산 시스템을 구축하는 기본 설계
원리 중 하나다. 일반적으로 배압 기능은 리소스가 제한되거나 장애가 발생했을 때 메시지나 에러
를 통해 사용자에게 통보하는 절차를 동반하며, 동시에 메트릭이 증가한다. 타 시스템을 향한 접속
과 요청에 발생하는 시간 초과나 지수 백오프도 핵심 요소다. 배압 메커니즘이 없다면 요청이 연쇄
적으로 실패하거나 의도치 않게 메시지가 유실될 가능성이 높아진다. 시스템은 다른 시스템의 장
애를 ...
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