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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
331
7
장
트래픽 관리
아틀라스에서 대기 스레드에 경고를 설정하려면 [예제
7
-
11
]처럼 고정 임곗값과 비교한다.
예제
7-11
아틀라스의 비율 제한 경고 임곗값
name,resilience4j.ratelimiter.waiting.threads,:eq,
$THRESHOLD,
:gt
[예제
7
-
12
]에 보이듯 프로메테우스도 개념은 비슷하다.
예제
7-12
프로메테우스의 비율 제한 경고 임곗값
resilience4j_ratelimiter_waiting_threads > $THRESHOLD
7.7.3
벌크헤드
마이크로서비스는 일반적으로 여러 다운스트림 서비스에 요청을 보낸다. 한 서비스의 가용성
만 저하되어도 여기 의존하는 다른 서비스까지 응답 불가 상태에 놓일 위험이 있다. 의존 서비
스가 블로킹 방식으로 요청을 처리하며 스레드 풀까지 사용한다면 더더욱 어려운 상황에 놓인
다. 마이크로서비스
A
가 마이크로서비스
B
를 포함한 여러 다운스트림 서비스에 요청을 보낼
때,
B
를 향한 요청을 유발하는 트래픽은 전체 중 작은 일부에 불과하다. 그러나
A
가
B
뿐만 아
니라 다른 모든 다운스트림 서비스에 대한 요청을 하나의 공용 스레드 풀에서 처리한다면 그
일부의 트래픽이
A
서비스 전체를 마비시킬 수 있다.
B
서비스에 장애가 발생하고 요청이 차단
되기 시작하면
A
의 스레드 풀이
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