장애가 자주 발생할 수 있기 때문입니다. 장애가 발생하는 이유 중 하나는 마이크로서비스 아
키텍처는 네트워크에 상당히 의존해서 기능하고 네트워크는 항상 사용 가능하지 않을 수도 있
다는 것이 핵심 속성입니다.(네트워크 다운, 회선의 포화, 토폴로지
topology
의 변경, 다운스트림
서비스의 갱신 등).
이러한 이유로 서비스는 어떤 종류의 문제에 대해서도 장애 허용을 갖춰야 하며 단지 오류를
전파하기보다는 우아한 해법을 제공해야 합니다.
이 장에서는 다음과 같은 내용을 배웁니다.
●
서로 다른 회복 전략들
●
오류 발생 시 대비 로직
●
장애 허용 인자를 올바르게 설정하기
8.1
자동 재시도 구현하기
문제
오류 발생 시 실패를 복구하기 위해 자동으로 재시도하기
202
쿼커스 쿡북
해결
마이크로프로파일 장애 허용
MicroProfile
Fault
Tolerance
명세는 어떤
CDI
요소(
CDI
빈과 마이
크로프로파일
REST
클라이언트를 포함
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.
O’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
I 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
I’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
I'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.