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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
321
7
장
트래픽 관리
클라이언트 사용률
해당 로드 밸런서에서 인스턴스로 배정한 인플라이트 요청 수
기준 조건을 좀 더 견고하게 세우려면 두 서버를 선택하기에 앞서 필요 없는 서버들을 걸러내
야 한다. 풀의 규모가 크고 저성능 인스턴스가 많으면 상대적으로 정상 인스턴스를 검색하는
CPU
비용이 상승한다. 불필요한 검색 시도 횟수가 많기 때문이다. 필터링 단계를 사전에 두면
클러스터 일부가 영구적으로 기능을 잃은 상태라 해도 정상 인스턴스 사이에서 양자택일 알고
리즘이 제대로 작동할 수 있다.
이러한 알고리즘이 콜드 스타트까지 감안하려면 마지막에 조정 단계를 추가해야 한다.
7.4.5
인스턴스 보호관찰
인스턴스가 구동될 때 두 번째 워밍업 단계까지는 무리하게 사용률을 요청할 필요가 없다. 신
규 인스턴스를 향한 요청 수를 정적으로 제한하면 신규 인스턴스 과부하를 간단히 방지할 수
있다. 로드 밸런서가 신규 인스턴스로부터 한 번 이상 사용률 응답을 수신하는 순간 이러한 보
호관찰
probation
기간을 해제하면 된다.
신규 인스턴스 요청을 정적으로 제한한다는 개념은 인스턴스의 수명에 맞춰 요청 속도를 점진
적으로 제한하는 기법으로 확장된다. 마이크로미터에 내장된
process
.
uptime
메트릭을 통해
인스턴스의 생존 기간을 계산할 수 있다.
로드 밸런싱 전략을 세울 도구가 갖춰졌으니 이제 의도하지 않은 부작용을 고려해볼 차례다.
7.4.6
스마트 로드 밸런싱의 노크온 효과
양자택일 로드 밸런서의 임무는 가용성 부족에 시달리는 인스턴스에서 ...
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