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

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

by 샘 뉴먼, 정성권
June 2023
Beginner to intermediate
696 pages
14h 8m
Korean
Hanbit Media, Inc.
Content preview from 마이크로서비스 아키텍처 구축(전면 개정판)
130
1
기초
3.7.13.7.1
성능 성능
데이터베이스, 특히 관계형 데이터베이스는 서로 다른 테이블 간에 데이터를 조인
join
하는 기능
이 좋다. 매우 좋다. 사실 너무 좋아서 이것을 당연하게 여길 정도다. 그러나 종종 마이크로서
비스라는 이름으로 데이터를 분리한다면 결국 데이터 계층에서 마이크로서비스 자체로 조인
작업을 이동해야 한다. 그리고 아무리 노력해봐도 속도가 빨라지기는 어렵다.
뮤직코프와 관련해 우리가 처한 상황을 보여주는 [그림
3
-
6
]을 생각해보자. 우리는 아티스트,
트랙, 앨범에 대한 정보를 관리하고 노출하는 카탈로그 기능을 추출하기로 했다. 현재 모놀리
스 내부의 관련 코드는
Albums
테이블을 사용해 판매 가능한
CD
에 대한 정보를 저장한다. 이
러한 앨범은 결국 모든 판매를 추적하는
Ledger
테이블에서 참조된다.
Ledger
테이블의 행
row
은 판매된 항목을 참조하는 식별자와 함께 날짜를 기록한다. 이 예에서 식별자는 소매 시스템
의 일반적 관행인
SKU
(재고 보관 단위 )라고 한다.
33
매월 말에는 베스트셀러
CD
에 대한 개요 보고서를 생성해야 한다.
Ledger
테이블은 가장
많이 판매된
SKU
를 이해하는 데 도움이 되지만, 해당
SKU
에 대한 정보는
Albums
테이블
에 있다. 우리는 보고서를 멋지고 읽기 쉽게 만들길 원했다. ...
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