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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
48
자바 마이크로서비스를 활용한
SRE
2.1
블랙박스
vs
화이트박스 모니터링
메트릭 수집 방식은 관찰 가능한 요소가 무엇인지에 따라 블랙박스와 화이트박스로 분류한다.
블랙박스
수집기가 입력과 출력을 관찰할 수 있지만 내부 작동 메커니즘은 알 수 없다.
HTTP
요청과 응
답이 대표적인 예다. 블랙박스 수집기는 프로세스를 가로채거나 감싸는 방식으로 대상을 측정
한다.
화이트박스
수집기가 입력과 출력에 더해 내부 작동 메커니즘을 관찰할 수 있다. 화이트박스 수집기는 애
플리케이션 코드 내부에서 작동한다.
많은 업체가 에이전트 형태로 블랙박스 모니터링 시스템을 제공한다. 에이전트는 애플리케이
션 프로세스에 부착되어 상태를 관찰한다. 시중에 널리 알려진 애플리케이션 프레임워크의 프
로세스는 상당히 깊은 수준까지 관찰할 수 있기에 때로는 에이전트가 화이트박스 수집기처럼
보이기도 한다. 하지만 블랙박스 모니터링은 어디까지나 에이전트가 일반화시킨 정보만 얻을
수 있다. 일반화 범주에 드는 애플리케이션의 종류는 에이전트 제작자에 달려있다. 예를 들어
에이전트는 스프링부트의 데이터베이스 트랜잭션 메커니즘을 가로채 작동 시간을 측정할 수
있다. 그러나 특정 클래스 내부에서
java
.
util
.
Map
이 수행하는 니어 캐시
near
-
cache
기능을 측
정하는 것은 불가능하다.
서비스 메시 기반 측정 기법도 블랙박스 방식이며 일반적으로 에이전트보다 활용성이 낮다. 에
이전트가 메서드 호출 각각을 관찰하고 가공할 수 있는 데 반해 서비스 메시가 최대한 자세히
관찰할 ...
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