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

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

by 조너선 슈나이더, 정병열
March 2022
Beginner to intermediate
348 pages
7h 5m
Korean
Hanbit Media, Inc.
Content preview from 자바 마이크로서비스를 활용한 SRE : 기업에서 신뢰할 수 있는 마이크로서비스를 위한 패턴
309
7
장
트래픽 관리
좋은 근거 자료다. 한계를 벗어난 요청 시도는 즉각적으로 응답할 수 없으므로 대기열에 보관
하거나 거부해야 한다. 통상적인 톰캣 기반 자바 마이크로서비스는 톰캣 스레드풀의 최대 스레
드 수가 곧 서비스의 동시 처리 능력의 한계를 나타낸다. 물론 톰켓 스레드풀보다 적은 동시 처
리 요청으로 시스템 자원이 고갈되기도 한다. 톰캣 스레드풀 초과 요청은 운영체제가 응답 대
기열에 추가해 효과적으로 관리한다.
요청 처리 비율이 응답 처리 능력을 넘어선 기간 동안 서비스는 제대로 작동하지 못한다. 대기
열이 늘어나면 대기 시간도 길어지며 대기열 요청이 제거되기 전까지는 요청 처리 과정이 시작
되지 않는다. 결국 대기 중인 요청은 시간 초과로 중단되기 시작한다.
이번 장은 동시 처리 능력 초과로 인한 연쇄 장애를 방지하는 전략을 다룬다. 여기서 로드 밸런
싱이란 서비스 부하가 장애를 유발하지 않도록 사전에 트래픽을 제어하는 기법을 의미한다.
7.3
플랫폼 로드 밸런싱
IaaS
(예:
AWS
,
GCP
, 애저 ),
CaaS
(예: 쿠버네티스 ),
PaaS
(예: 클라우드 파운드리 ) 등 최신
런타임 플랫폼은 모두 기본적으로 클러스터 로드 밸런서를 제공한다. 로드 밸런서는 주로 클러
스터 인스턴스에 트래픽을 분산하는 라운드 로빈
round
robin
기능 등을 제공하지만 그 외에 다른
여러 역할도 함께 수행한다. 가령
AWS
엘라스틱 로드 밸런서는
TLS
말단 처리, 콘텐트 기반
라우팅, 고정 세션 등의 기능을 제공한다.
온프레미스 환경은 ...
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