이 장에서는 내외부 상태 저장소를 살펴보고 각각의 작동 원리와 장단점을 알아보았습니다. 시
스템의 지연과 처리량에 큰 비중을 차지하는 데이터 지역성을 활용하면 부하가 많은 시간에 시
스템 규모를 확장할 수 있습니다. 내부 상태 저장소는 고성능 처리를 지원하며 외부 상태 저장
소는 마이크로서비스의 비즈니스 요건을 지원하기 위한 다양하고 유연한 옵션을 제공합니다.
체인지로그는 마이크로서비스 상태 저장소의 백업/복구에 중요한 역할을 합니다. 트랜잭션을
지원하는 데이터베이스나 정기적으로 스케줄링된 스냅샷을 이용하는 방법도 있습니다. 트랜잭
션을 지원하는 이벤트 브로커는 아주 강력한 ‘실제로 한 번 처리’ 메커니즘을 제공하므로 컨슈
머는 중복 이벤트 방지 책임을 덜 수 있고, 트랜잭션이 지원되지 않는 시스템에서는 이런 식으
로 중복 제거 작업을 하면 ‘실제로 한 번 처리’가 가능합니다.
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.