물론 락스텝 배포는 독립적인 배포 가능성과 대치된다. 인터페이스의 중단 변경이 있는 새 버
전의 마이크로서비스를 배포하지만 독립적인 방식으로도 수행하길 원한다면, 소비자에게 새
인터페이스로 업그레이드할 시간을 주어야 한다. 이는 다음 두 가지 사항을 고려하게 한다.
5.7.25.7.2
호환되지 않는 마이크로서비스 버전의 공존 호환되지 않는 마이크로서비스 버전의 공존
또 다른 버전 관리 해결책 중 자주 인용되는 것은 [그림
5
-
3
]과 같이 서비스의 다른 버전들을
한 번에 실행하고 이전 소비자의 트래픽을 이전 버전으로 라우팅해 새 소비자가 새 버전을 보
게 하는 것이다. 특히 이것은 레거시 장치가 여전히 이전 버전의
API
와 묶인 경우와 같이 오래
된 소비자를 변경하는 비용이 너무 높은 상황에서 넷플릭스가 드물게 사용하는 방식이다. 필자
는 개인적으로 이 아이디어를 좋아하지 않으며, 넷플릭스가 거의 사용하지 않는 이유도 이해
한다.
웹 상점관리자
고객 서비스
v65
데이터베이스
고객 서비스
v50
그림
5-3
구 엔드포인트를 지원하기 위해 동일 서비스의 여러 버전을 실행하기 구 엔드포인트를 지원하기 위해 동일 서비스의 여러 버전을 실행하기
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.