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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
109
2
장
애플리케이션 메트릭
일반적으로, 매번
2
분을 초과하는 요청을 측정할 때는
LongTaskTimer
를 선택한다. 인플라이
트
in
-
flight
요청, 특히 실패 가능성이 있고 예상 시간이 수 분, 수 시간 단위로 늘어날 위험이 있
는 요청도
LongTaskTimer
로 측정한다.
2.14
비용 제어
측정 애플리케이션이 늘어날수록 메트릭 비용도 증가한다. 처음에는 메모리, 프로세서 사용률
처럼 기본 통계를 제공하는 것으로 시작해
HTTP
요청, 캐시 성능, 데이터베이스 상호작용, 커
넥션 풀 포화도 등으로 측정 영역이 점점 더 확장된다. 이런 측정 요소 중 상당수는 스프링부트
같은 프레임워크에 의해 점점 더 자동화될 것이다.
그러나 컴포넌트를 추가해 측정 영역이 확장된다 해서 반드시 텔레메트리 비용이 증가하는 것
은 아니다. 개별 메트릭의 비용을 조사하려면 메트릭명과 키-값 태그 조합의 고유한 순열을 고
려해야 한다. 이들은 백엔드에서 일련의 시계열을 형성하며 이 집합의 크기를 메트릭의 카디널
리티라고 표현한다.
카디널리티의 경계는 가능한 모든 키-값 태그 조합을 고려해 신중하게 결정해야 한다. 또한 고
유한 값이 지나치게 많아지지 않도록 제한해야 한다. 메트릭의 카디널리티는 고유한 태그값과
태그키의 곱이다. 태그 카디널리티의 합리적인 제한선은 모니터링 시스템마다 다르지만, 일반
적으로 수천 개 이내로 유지하면 적당하다. 넷플릭스에서 일반적으로 제시하는 선은 시계열이
100
만을 넘지 않을 정도로 카디널리티를 유지한다. 아마 대부분의 조직은 ...
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