Skip to Content
마이크로서비스 아키텍처 구축(전면 개정판)
book

마이크로서비스 아키텍처 구축(전면 개정판)

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
388
2
구현
운영 환경에서 테스트
운영 환경의 다양한 테스트 기법에 대한 요약
시작하고 실행하기에 가장 간단한 것부터 해보자. 첫 번째는 바로 본전을 뽑고도 남을 로그 집
계다.
10.6.110.6.1
로그 집계로그 집계
규모가 크지 않은 마이크로서비스 아키텍처에서도 서버와 마이크로서비스 인스턴스가 많기 때
문에 머신에 로그인하거나
SSH
다중화
SSH
-
multiplexing
를 통해 로그를 검색하는 것만으로는 충분
하지 않다. 대신, 특수한 하위 시스템을 사용해 로그를 수집하고 중앙에서 사용할 수 있게 하려
고 한다.
로그는 운영 시스템에서 벌어지는 일을 이해하도록 돕는 가장 중요한 메커니즘 중 하나가 될
것이다. 더 간단한 배포 아키텍처를 사용하면 로그 파일, 이 파일에 기록하는 항목, 로그 파일
을 처리하는 방법은 나중에 생각하는 경우가 많다. 더욱더 분산되는 시스템에서 로그는 문제가
있다는 것을 발견했을 때 무엇이 잘못됐는지 진단하는 데 도움이 될 뿐만 아니라 초기에 주의
가 필요한 문제가 있다는 사실을 알려주는 중요한 도구가 될 것이다.
곧 설명하겠지만, 이 분야에서는 다양한 도구가 있다. 모두 [그림
10
-
4
]에서 요약된 것처럼 대
체로 동일한 방식으로 작동한다. 예를 들면 마이크로서비스 인스턴스와 같은 프로세스는 로컬
파일 시스템에 로그를 기록한다. 로커 데몬 프로세스는 주기적으로 이 로그를 수집해 운영자가
쿼리할 수 있는 일종의 저장소로 전달한다. 이러한 시스템의 장점 중 하나는 마이크로서비스
아키텍처가 그 시스템을 거의
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

파이썬으로 살펴보는 아키텍처 패턴

파이썬으로 살펴보는 아키텍처 패턴

오현석, 해리 퍼시벌, 밥 그레고리
견고한 데이터 엔지니어링

견고한 데이터 엔지니어링

조 라이스, 맷 하우슬리
클라우드 네이티브 애플리케이션 디자인 패턴

클라우드 네이티브 애플리케이션 디자인 패턴

카순 인드라시리, 스리스칸다라자 수호티얀
개발 7년차, 매니저 1일차

개발 7년차, 매니저 1일차

권원상, 한민주, 카미유 푸르니에

Publisher Resources

ISBN: 9791169211192