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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
159
3
장
관찰 가능성과 디버깅
3.7
추적 콘텍스트를 이용한 실패 주입 및 실험
앞서 분산 추적 샘플링 방식 중 경계 샘플링 (
3
.
4
.
4
절 참고 )에 대해 설명했다. 에지에서 샘플링
결정
decision
을 먼저 생성한 다음 요청에 포함된 마이크로서비스에 다운스트림으로 전파하는 방
식이다. 이때 샘플링 결정과 관련이 없는 다른 정보를 추적 콘텍스트에 심어 다운스트림에 함
께 전파할 수 있다.
카오스 엔지니어링의 기법 중 하나인
실패 주입 테스트
failure
injection
testing
(
FIT
)가 이러한 방식으
로 콘텍스트를 전달한다. 카오스 엔지니어링은 매우 광범위한 분야를 아우르는 기술이다. 자세
한 내용은 『
Chaos
Engineering
』(
O
’
Reilly
,
2019
)을 참고하기 바란다.
실패 주입 결정은
API
게이트웨이에서 먼저 추가되고 추적 태그 형태로 다운스트림에 전파된
다. 주입 규칙은 중앙
FIT
서비스가 결정하고 제공한다. 실패가 주입된 실행 경로에 존재하는
마이크로서비스는 이 정보를 토대로 실패를 인위적으로 재현한다. [그림
3
-
7
]은 이러한 종단
프로세스를 전체적으로 나타낸 그림이다.
그림
3-7
사용자 요청 실패 주입 테스트 프로세스
권장안
인터넷
API
게이트웨이
실패 규칙
실패 주입 테스트
서비스
요청
실패 정보가 추적 정보
에 담겨 이동 ...
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