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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
179
5
마이크로서비스의 통신 구현
5.2.25.2.2
RESTREST
REST
Representational
State
Transfer
는 웹에서 영감을 받은 아키텍처 형식이다.
REST
형식 뒤에는 많은
원칙과 제약이 있지만, 마이크로서비스 세계에서 통합 문제에 직면할 때와 서비스 인터페이스
에 대한
RPC
의 대안을 찾을 때는 실제로 도움이 되는 원칙과 제약 조건에 중점을 둘 것이다.
REST
에서는 리소스
resource
라는 개념이 가장 중요하다. 리소스는
Customer
처럼 서비스 자체가
알고 있는 것으로 생각할 수 있다. 서버는 요청에 따라 이
Customer
에 대한 다양한 표현을 생
성한다. 리소스가 외부에 표시되는 방식은 내부에 저장되는 방식과 완전히 별개다. 예를 들어
Customer
가 완전히 다른 형식으로 저장돼 있더라도 클라이언트는
JSON
표현을 요청할 수 있
다. 클라이언트가 이
Customer
를 대표하게 되면 변경 요청을 할 수 있으며, 서버는 이 요청을
따르거나 거부한다.
REST
에는 다양한 방식이 있고 여기서는 간략하게만 설명하므로, 다양한
REST
형식을 비교한
리차드슨 성숙도 모델
Richardson
Maturity
Model
’(
https
://
oreil
.
ly
/
AlDzu
)을 함께 살펴보는 것을
적극 권장한다.
REST
에서 하부 프로토콜을 특별히 언급하지는 않지만,
HTTP
가 가장 보편적으로 사용된다.
매우 다른 프로토콜을 사용한
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.

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