Skip to Content
이벤트 기반 마이크로서비스 구축
book

이벤트 기반 마이크로서비스 구축

by 이일웅, 애덤 벨메어
May 2021
Beginner to intermediate
380 pages
7h 48m
Korean
Hanbit Media, Inc.
Content preview from 이벤트 기반 마이크로서비스 구축
48
이벤트 기반 마이크로서비스 구축
이 모놀리스를 분해해서 기존 모놀리스 내부의 경계를 동기식 점대점 호출 방식으로 흉내내고
자 할 때 이런 상황이 빚어집니다. 점대점 서비스에서 원격 시스템의 기능을 호출하면 결국 기
존 모놀리스 코드와 라인 단위로 맞물리게 되어 경계 콘텍스트 간 경계선이 흐려지게 됩니다.
테스트
각 서비스를 가동하려면 자신이 의존하는 서비스 역시 가동 중이어야 하고, 그런 서비스들도
또 다른 서비스가 가동 중이어야 돌아가기 때문에 통합 테스트를 수행하기가 정말 어렵습니다.
단위 테스트는 스텁
stub
으로 어떻게든 가능하지만 더 포괄적인 테스트 요건을 충분히 만족시키
기는 어렵습니다.
1.7.2
동기식 마이크로서비스의 장점
물론 동기식 마이크로서비스도 부인할 수 없는 장점들이 있습니다. 사용자 인증,
A
/
B
테스트
11
같은 데이터 접근 패턴은 직접 요청-응답을 주고받는 방식이 더 유리합니다. 외부 서드파티 솔
루션은 거의 항상 동기식 메커니즘으로 연계되며 일반적으로 언어에 구애받지 않도록
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

헤드 퍼스트 자바(3판)

헤드 퍼스트 자바(3판)

케이시 시에라, 버트 베이츠
클라우드 핀옵스: 비용은 최소화 운영은 최적화

클라우드 핀옵스: 비용은 최소화 운영은 최적화

오성근, J. R. 스토먼트, 마이크 풀러

Publisher Resources

ISBN: 9791162244173