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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
147
3
장
관찰 가능성과 디버깅
정하는 도구다. 이상적인 분산 시스템 측정 환경은 필연적으로 일부 계층에 수동 측정 도구가
탑재된다. 사전 패키징된 측정 도구가 접근하지 못하는 주요 비즈니스 콘텍스트는 이 계층에서
수동으로 추적할 수 있다.
3.3.2
에이전트 추적
추적도 메트릭처럼 에이전트를 이용해 자동으로 추가할 수 있다. 에이전트는 통상적으로 업체
가 제공하며 코드를 고치지 않아도 바로 작동한다. 그러나 에이전트는 애플리케이션 전달 파이
프라인에 탑재해야 하므로 복잡도를 증가시킨다. 유지 비용도 그만큼 상승한다는 점을 간과하
면 안 된다.
유지 비용은 시스템이 어느 정도 수준으로 추상화되어 있는지와 무관하게 실질적으로 발생한
다. 다음과 같이 다양한 환경을 고려하자.
●
서비스형 인프라
infrastructure
as
a
service
(
IaaS
) 플랫폼인 아마존
EC2
플랫폼을 쓸 때는 에이전트와 관련
설정을 기본 아마존 머신 이미지에 추가해야 한다.
●
서비스형 컨테이너
container
as
a
service
(
CaaS
) 플랫폼에서 에이전트를 사용하려면
openjdk:jre-
alpine
같은 기본 컨테이너 이미지와 애플리케이션 사이에 별도의 컨테이너 계층을 두어야 한다.
이 구조는 빌드 과정을 통해 구현된다. 그레이들 플러그인
com.bmuschko.docker-spring-boot-
application
으로 스프링부트 애플리케이션을 패키징하고
CaaS
에 배포한다고 가정하면,
com.
bmuschko.docker-spring-boot-application ...
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