원래 확장 육면체의 주요 요인 중 하나는 한 가지 유형의 확장으로 좁게 생각하는 것을 지양하
고 필요시 여러 축에 따라 애플리케이션을 확장하는 것이 합리적임을 이해하도록 돕기 위한 것
이었다. [그림
13
-
6
]에 설명된 예제로 돌아가보자. 주문 기능을 추출해 이제 자체 인프라스트
럭처에서 실행할 수 있도록 만들었다. 다음 단계로 [그림
13
-
7
]에서 보듯이 주문 마이크로서
비스를 여러 복제본으로 분리해 확장할 수 있다.
모놀리식
뮤직코프
로드 밸런서
주문
인스턴스
주문
인스턴스
주문
인스턴스
그림
13-7
추출된 마이크로서비스가 이제 확장성을 위해 복제됐다. 추출된 마이크로서비스가 이제 확장성을 위해 복제됐다.
다음으로는 [그림
13
-
8
]과 같이 서로 다른 지리적 위치에 따라 주문 마이크로서비스의 서로
다른 샤드를 실행하기로 결정할 수 있다. 수평 복제는 각각의 지리적 경계 안에서 적용된다.
Instance
Order
Instance
Instance
Order
Instance
Instance
Order
Instance
모놀리식
뮤직코프
주문
인스턴스
유럽남미아시아 태평양
주문
인스턴스
주문
인스턴스
그림
13-8
뮤직코프의 주문 마이크로서비스는 이제 지역별로 분할되고 각 지역 그룹 안에서 복제돼 있다. 뮤직코프의 ...
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.
O’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
I 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
I’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
I'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.