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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
154
자바 마이크로서비스를 활용한
SRE
비용
확률로 샘플을 추출하면 추적 비용은 트래픽에 비례해 선형적으로 증가한다.
API
엔드포인트
가 처리할 요청이 초당
100
개를 넘지 않는다는 가정하에 샘플링 비율을
10
%로 설정했다고 가
정하자. 예상을 뛰어넘은 트래픽으로 초당
10
,
000
개 요청이 발생하면 추적 샘플링 데이터는
즉시
1
,
000
개로 늘어난다. 반면 비율 제한 샘플링은 처리량과 무관하게 고정된 상한선을 두는
방식으로 비용을 제한한다.
공극
비율 기반 샘플링처럼 확률 샘플링도 추적
ID
와 헤더를 참조하지 않으므로 엔드투엔드 구성에
공극이 생긴다. 처리량이 상대적으로 낮은 시스템에서 비율 기반 샘플링을 수행하면, 개별 하
위 시스템에서 비율 임계치가 초과되지 않아 실제로 공극이 발생하지 않을 가능성이 크다. 그
러나 확률 샘플링은 그렇지 않다. 처리량이 낮더라도 측정 단위마다 일정한 확률로 공극이 발
생하기 때문이다.
3.4.4
경계 샘플링
경계
boundary
샘플링은 확률 샘플링의 변형이다. 시스템과 처음 상호작용하는 경계에서 샘플 기
준을 선정하고 다른 서비스와 컴포넌트에 다운스트림을 따라 전파시켜 공극 문제를 해결한다.
각 컴포넌트는 [그림
3
-
3
]처럼 샘플링 결정이 포함된 추적 콘텍스트를
HTTP
헤더로 추가한
다. 다운스트림 컴포넌트는 이를 전달받아 ...
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