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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
337
7
장
트래픽 관리
예제
7-20
프로메테우스의 서킷 브레이커 경고 임곗값
sum(resilience4j_circuitbreaker_state{state="open"}) > 0
서비스에 따라 경고가 남발될 가능성도 있다. 서킷이 순간적으로 열렸다가 닫히는 경우를 무시
할 수 있는 상황이라면
resilience4j
.
circuitbreaker
.
calls
에 에러율 지표를 설정해도
좋다. 경고가 발생하기 전까지 일정 횟수만큼 폴백 응답이 제공된다.
다음 절에서 코드와 환경 조건의 변화에 따라 경고 임곗값 자체가 조절되도록 유연성을 향상시
키는 방법을 논의한다.
7.7.5
적응형 동시성 제한
이제껏 제시한 비율 제한, 벌크헤드, 서킷 브레이커 등의 호출 복원 패턴은 사전 예방 또는 사
후 조치를 통해 부하를 효과적으로 방어하는 데 초점을 맞춘다. 각각은 자신만의 고유한 수단
을 이용해 동시성을 제한한다.
이들은 마이크로서비스가 실제로 프로덕션에서 실행되기 전에 임곗값을 설정한다. 비율 제한
기가 단위 기간 동안 실행할 요청 수를 제한하고, 벌크헤드가 동시 처리 능력을 제한하고, 서킷
브레이커가 장애 (과부하 포함 ) 발생 인스턴스에서 부하의 원인을 제거할 때, 모두 각자의 임
곗값 기준으로 조치를 취한다. 그러나 아무리 면밀한 성능 테스트를 거쳐 결정된 임곗값도 시 ...
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