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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
216
자바 마이크로서비스를 활용한
SRE
해야 한다.
파일 제한은 공통적인 제약 사항이며 위반 시 애플리케이션이 서비스 중단 상태에 처한다.
아틀라스는 [예제
4
-
30
]처럼
:
div
와
:
gt
함수로 설정한다.
예제
4-30
아틀라스의 파일 설명자 경고 범위
name,process.open.fds,:eq,
name,process.max.fds,:eq,
:div,
0.8,
:gt
프로메테우스는 [예제
4
-
31
]처럼 간단하게 표현한다.
예제
4-31
프로메테우스의 파일 설명자 경고 범위
process_open_fds / process_max_fds > 0.8
지금까지 모든 자바 마이크로서비스에 적용된 신호를 다뤘다. 다음에 다룰 주제는 다소 한정적
인 상황에 쓰이는 기법이다.
4.7.7
비정상 트래픽
http
.
server
.
requests
메트릭의 특정 지표를 활용하면 비정상적인 상태 코드를 감시할 수
있다. 가령
HTTP
상태 코드 중 ‘
403
Forbidden
’ 부류 또는 ‘
404
Not
Found
’가 짧은 시간 동
안 다수 발생하면 침입 시도로 간주한다.
에러와 달리 상태 코드는 처리량이 아닌 요청 건수 대비 발생
비율
rate
로 모니터링한다.
HTTP
403
요청이 초당
10
,
000
건 발생했다면, 시스템이 평상시 처리하는 요청이 초당
15
,
000
개든
1
,
500
만 개든 ...
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