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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
195
5
마이크로서비스의 통신 구현
가능한 스키마 기술을 정의하게 된다. 원시
XML
로 작업할 경우
XSD
XML
Schema
Definition
를 사용
하고 원시
JSON
으로 작업한다면
JSON
스키마
JSON
Schema
를 사용한다. 우리가 다룬 기술 선택
지 중 일부 (특히
RPC
종류의 상당수 )는 명시적 스키마를 필요로 하므로 해당 기술을 선택한
다면 스키마를 사용해야 한다.
SOAP
WSDL
로 동작하고,
gRPC
는 프로토콜 버퍼 명세가
필요하다. 지금까지 살펴본 다른 기술에서 스키마는 선택 사항으로 돼 있는데, 이 부분에서 더
흥미로운 점이 있다.
이미 논의한 것처럼, 필자는 두 가지 주요한 이유로 마이크로서비스의 엔드포인트에 명시적 스
키마를 사용하는 방식을 선호한다. 우선, 스키마는 마이크로서비스 엔드포인트가 노출하는 것
과 수용할 수 있는 것을 명시적으로 표현하는 데 중요한 역할을 한다. 이는 마이크로서비스에
종사하는 개발자와 소비자 모두가 좀 더 편리한 삶을 누리게 해준다. 스키마가 좋은 문서의 필
요성을 대체하지는 못하더라도 필요한 문서의 양을 줄이는 데는 확실히 도움이 될 것이다.
필자가 명시적 스키마를 선호하는 또 다른 이유는 마이크로서비스의 엔드포인트가 우발적으로
파손 (고장 )되는 것을 탐지하는 데 도움이 되기 때문이다. 마이크로서비스 간의 변경 사항을
처리하는 방법을 곧 다루겠지만, 그에 앞서 다양한 파손 유형과 스키마의 역할을 살펴보는 것
이 좋겠다.
5.4.15.4.1
구조적 계약 위반 대 구조적 계약 ...
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