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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
74
자바 마이크로서비스를 활용한
SRE
이러한 통계들을 어떻게 활용할 수 있을지와 통계 사이의 관계를 살펴보자.
2.10.1
‘카운트’는 ‘처리량’을 의미
타이머의 카운트 통계는 자체적으로 쓸모가 있다. 이 통계는
처리량
throughput
을 나타내는 지표이
며 시간 측정 대상 작업이 발생한 비율이다.
API
엔드포인트를 타이머로 측정하면 해당 엔드포
인트를 요청한 횟수를, 대기열 메시지를 타이머로 측정하면 대기열에 배치된 메시지의 개수를
알 수 있다.
카운트 통계는 정확히
2
.
9
절에서 설명한 대로 쓰인다. 즉 비율로 나타낸다. 마이크로미터는 모
니터링 시스템에 따라 이 통계를 누적 수치 또는 비율로 내보낸다.
2.10.2
‘카운트’와 ‘합계’를 조합하면 ‘집계 평균’을 의미
합계는 그 자체만으로는 의미가 없다. 작업이 발생하는 비율과 함께 고려하지 않으면 존재 목
적을 잃는다.
API
엔드포인트 요청
1
건이
1
초로 합산됐다면 큰 문제지만,
1ms
의 요청이
1
,
000
건 모여
1
초로 합산됐다면 매우 만족스러운 결과다.
합계와 카운트를 함께 사용하면
집계
aggregable
평균을 낼 수 있다. 그러나 타이머의 평균을 직접
게시해버리면 다른 차원(예: 다른 인스턴스 )의 평균 데이터를 결합한다 해도 전체 평균을 정
확히 구할 수 없다.
[그림
2
-
4
]는 애플리케이션 인스턴스
4
개에 보내는 요청
7
개를 로드 밸런서가 분산하는 시나
리오를 나타낸다. 인스턴스
3
개는 지역
1
에 있고 나머지
1
개는 지역
2
에 있다.
75
2
장
애플리케이션 메트릭
그림
2-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