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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
320
자바 마이크로서비스를 활용한
SRE
이 어느 정도인지 이해해야 임계점을 설정할 수 있으며, 그러기 위해서는 도메인별 지식을 일
정 수준 이상 갖춰야 한다.
각 인스턴스의 사용률을 지속적으로 폴링하면 로드 밸런서 노드 수에 비례해 추가로 부하가 발
생한다. 반면 서비스의 처리량이 낮으면 사용률 현황을 더욱 정확하게 파악할 수 있다는 장점
이 있다. 특히 로드 밸런서의 폴링 속도가 요청 속도를
초과
할 때 효과적이다.
수동 전략은 특정 인스턴스에 마지막으로 도달한 요청을 통해 최신 사용률 정보를 얻는 기법이
다. 인스턴스의 처리량이 높을수록 사용률 측정 결과도 정확하다.
인스턴스 사용률이나 헬스 정보는 무작위 휴리스틱에 제공할 기초 데이터다. 이어지는 절에서
더 자세히 다룬다.
7.4.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