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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
318
자바 마이크로서비스를 활용한
SRE
률 초과 여부를 로드 밸런서가 판단하도록 일임하는 것이다. 한층 세분화된 기준을 적용할 수
있다.
7.4.3
헬스 체크
플랫폼 로드 밸런서가 ‘게이트웨이’ 역할을 겸할 때가 있다.
AWS
애플리케이션 로드 밸런서가
대표적이다. 이들은 가용성 정보 중에서 주요한 일부만 활용한다. 가령 플랫폼 로드 밸런서는
대부분 헬스 체크 경로와 포트를 설정할 수 있다. 그러나 경로를
/
actuator
/
health
로 설정
하더라도 가져오는 정보는
HTTP
응답 상태뿐이다. 세부적인 사용률 정보를 선별하고 임곗값
과 비교해 판단을 내리도록 설정할 수는 없다. 이때 임곗값 설정과 헬스 체크는 온전히 애플리
케이션 코드의 몫이다.
Health
.
up
()
또는
Health
.
outOfService
()
등을 반환해 상태를 알
려야 한다. 애플리케이션에 이러한 임무를 맡기면 안 된다는 법은 없다. 그러나 이렇게 하려면
개발 당시에 이미 운영 환경의 성능 정보를 알아야 하며 배포 환경에 대한 유연성은 자연히 떨
어지기 마련이다. 디지털오션
DigitalOcean
은 플랫폼 로드 밸런서 측에서 헬스 체크 기능을 지원한
다. 쿠버네티스 로드 밸러서용 ‘
health
check
’ 설정 (
https
://
oreil
.
ly
/
yYBzh
)이 [예제
7
-
4
]
에 나와있다. ...
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