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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
149
3
장
관찰 가능성과 디버깅
3.3.4
서비스 메시 추적
서비스 메시는 애플리케이션 코드 외부에 존재하는 인프라 계층이며 마이크로서비스 사이의
상호작용을 관리한다. 이런 기능 중 상당수는 사이드카 프록시를 통해 애플리케이션 프로세스
를 다루는 방식으로 구현된다.
서비스 메시 추적은 프레임워크 추적과 비슷한 면이 있지만 완전히 같다고 생각하면 오산이다.
둘 다
RPC
호출을 가공해 측정하지만 프레임워크 측정 쪽이 서비스 메시에 비해 명백히
더 많
은
정보를 제공한다. 예를 들어 프레임워크는
REST
엔드포인트 추적을 통해
HTTP
상태 코
드를 제공하는 동시에 느슨하게 연결된 예외 정보까지 덧붙인다. 반면 서비스 메시는 상태 코
드 정보만 얻는다. 또한 프레임워크는
/
api
/
person
/
1
에서 변수가 대체되지 않은 원본 경로
/
api
/
person
/{
id
}
에 접근할 수 있다.
에이전트도 사이드카보다 풍부한 측정 결과를 얻을 가능성이 높다.
RPC
호출보다 더 세밀한
개별 메서드 호출 수준까지 접근할 수 있기 때문이다.
서비스 메시를 추가하면 전달 파이프라인이 변경되며 사이드카와 제어 플레인 관리 측면에 복
잡도가 상승한다. 비용과 자원도 당연히 추가로 필요하다.
그러나 서비스 메시 계층에서 애플리케이션을 측정할 때는 스프링 클라우드 슬루스 같은 프레
임워크 측정 도구를 추가할 필요가 없다. 또한 에이전트 기반 측정처럼 컨테이너 이미지를 변
경하거나 수동 측정 코드를 추가할 필요도 없다. 서비스 메시 측정은 프레임워크 방식에 비해
가용 정보가 ...
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