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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
151
3
장
관찰 가능성과 디버깅
데이터베이스 조회 과정에 추적 기능을 추가한 다음 공통 라이브러리로 캡슐화했다고 가정하
자. 이를 조직 전체가 공유하면 애플리케이션 스택 전체에 걸쳐 데이터베이스 작업을 추적할
수 있다. 결과적으로 데이터베이스 계층에 자체적으로 화이트박스나 블랙박스 모니터링을 추
가하지 않고도 효과적으로 데이터베이스를 측정하게 된다. 이처럼 호출 주체의 관점에서 측정
을 수행하면 원칙적으로 측정 불가능해 보이는 시스템도 추적할 수 있다.
z
/
OS
메인프레임에
서 실행되는
IBM
DB2
데이터베이스를 집킨 브레이브로 추적하는 경우가 대표적인 사례다.
TIP
하위 시스템 호출을 전수 추적하면 사실상 하위 시스템을 추적하게 된다
하위 시스템을 향한 모든 호출을 추적하면 결과적으로 하위 시스템 자체를 추적할 때와 동일한 효과가 생긴
다. 데이터베이스, 캐시, 메시지 큐 등 대부분의 컴포넌트성 프레임워크는 사용자가 훅
hook
을 걸 수 있는 이벤
트 시스템을 제공한다. 이러한 이벤트를 제어하는 핸들러를 적절히 활용하면 전체 호출에 일일이 측정 기능
을 붙일 필요가 없다. 측정하려는 컴포넌트 프레임워크에 자동으로 핸들러가 주입되도록 바이너리 의존성을
구현한 다음 호출 애플리케이션에 추가하면 된다.
호출자를 추적하면 두 시스템 간의 레이턴시(네트워크 오버헤드 ...
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