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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
211
4
장
차트와 경고
그림
4-30
두 가지 지표를 기반으로 총 메모리 부족을 측정하는 그라파나 경고 설정 화면
메모리 외에
CPU
도 일반적으로 사용률을 측정하는 자원이다.
CPU
는 포화도로 측정하기 어
렵다.
4.7.5
CPU
사용률
CPU
사용량은 보편적인 모니터링 대상이지만 불행히도
CPU
의 정상 상태를 규정하는 일반적
인 조건은 수립하기 어렵다. 애플리케이션의 특성에 따라 프로그래밍 모델이 다르기 때문이다.
톰캣에서 실행되며 블로킹 서블릿 모델 방식으로 요청에 응답하는 전형적인 마이크로서비스
는, 톰캣 스레드 풀을 최대한 우선적으로 소비하며
CPU
에 과중한 부담을 지우지 않는다. 이러
한 애플리케이션은 메모리 포화도 측면에 더 자주 문제가 생긴다. 다양한 형태의 요청/응답을
처리하는 도중에 과도하게 가비지가 발생하는 형태가 주로 많다.
네티
Netty
에서 실행되고 반응형 프로그래밍 모델을 도입한 자바 마이크로서비스는 인스턴스당
처리량이 훨씬 크다. 그에 따라
CPU
사용률도 함께 증가하는 경향이 있다. 실제로,
CPU
리소
스 활용성 증대는 통상적으로 반응형 프로그래밍 모델의 장점으로 언급되곤 한다.
212
자바 마이크로서비스를 활용한
SRE
CAUTION_
인스턴스 규모를 조절하기 전에 확인해봐야 하는 CPU와 메모리 사용률
플랫폼형 서비스의 주요 기능 ...
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