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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
162
자바 마이크로서비스를 활용한
SRE
super.httpRequestTags(exchange, ex),
"failure.injection",
serviceName.equals(BaggageField
.getByName("failure.injection").getValue()) ? "true" : "false"
);
}
}
이 예제는 대략적인 윤곽만 보여줄 뿐이다. 실패 주입 서비스를 정의하는 방법과 실패 주입 요
청을 선정하는 조건은 사용자에게 달려 있다. 규칙이 아주 간단할 때는 게이트웨이 애플리케이
션에 실패 주입 서비스를 포함하기도 한다.
추적 데이터는 실패 주입뿐만 아니라
A
/
B
테스트로 요청을 분리할 때도 유용하게 쓰인다.
3.8
마치며
이번 장은 가용성 모니터링과 디버깅 모니터링의 차이점을 살펴봤다. 디버깅 신호는 이벤트 기
반으로 발생한다는 특징이 있으며 시스템 처리량에 비례해 증가하는 경향이 있다. 따라서 몇
가지 샘플링 기법을 통해 비용을 제한해야 한다. 디버깅 신호가 통상적으로 샘플링된다는 점을
감안하면 집계에 의의를 두어서는 안 된다. 샘플링을 거치면 일부 분포가 누락되며 집계 결과
가 왜곡될 수 있기 때문이다.
마지막으로, 추적 콘텍스트에 특정 행동을 실어 보내는 방법을 알아보았다. 이러한 행동은 디
버깅 정보와 함께 마이크로서비스 ...
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