로드 밸런서를 이용해서 컨슈머 그룹 소유권 및 파티셔너 로직에 따라 요청을 올바르게 전달한다.
스마트 로드 밸런서는 파티셔너 로직을 적용해 파티션
ID
를 얻고 이를 컨슈머 그룹 할당 내부
테이블과 대조한 결과에 따라 요청을 전달합니다. 파티션 할당은 내부 리파티션 스트림이나 주
어진 상태 저장소의 체인지로그 스트림을 보고 추론할
infer
수 있습니다. 그러나 이 방법은 로드
밸런서와 애플리케이션 로직을 복잡하게 만들기 때문에 상태 저장소를 개명하거나
rename
토폴
로지를 변경하면 전달 자체가 실패할 수도 있습니다. 가급적 이런 오류는 프로덕션 배포 전에
걸러내야 하므로 스마트 로드 밸런서를 마이크로서비스의 단일 배포체 및 테스트 프로세스의
일부로 구성하는 것이 좋습니다.
WARNING
_
스마트 ...
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.