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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
141
4
마이크로서비스 통신 방식
또 어떤 문제는 쉽게 처리하지 못하므로 사람의 개입이 필요하다. 결과적으로, 클라이언트가
적절한 조치를 취할 수 있는 방식으로 에러를 반환하기 위한 더 풍부한 의미 체계
semantics
를 갖
추는 것이 중요해진다.
HTTP
는 그 중요성을 잘 이해하는 프로토콜의 한 예다. 모든
HTTP
응답에는 예약된 에러용
으로 (
400
번대 및
500
번대의 코드를 포함하는 ) 코드를 제공한다.
400
번대 에러 코드는 요청
에러며, 본질적으로 다운스트림 서비스는 원래부터 요청에 문제가 있다는 사실을 클라이언트
에 알려준다. 이러한 경우 아마도 요청을 포기해야 할 것이다. 예를 들어
404
Not
Found
를 재
시도할 이유가 있을까?
500
번대 응답 코드는 다운스트림 서버의 문제와 관련이 있으며, 일부
코드는 일시적인 문제라고 클라이언트에 알려준다. 예를 들어
503
Service
Unavailable
다운스트림 서버가 요청을 처리할 수 없지만 일시적인 상태일 수 있음을 나타내며, 이 경우 업
스트림 클라이언트가 요청을 재시도할 수 있다. 반면에 클라이언트가
501
Not
Implemented
응답을 받은 경우에는 재시도가 그다지 도움이 되지 않을 것이다.
마이크로서비스 간의 통신을 위해
HTTP
기반 프로토콜의 선택 여부와 관계없이 에러의 ...
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