작업이 필요하다는 것을 알고 있다. 하지만 이러한 절충안이 비즈니스에 미치는 영향은 잘 이
해하지 못할 수도 있다. 재고 시스템의 경우 기록이
5
분 정도 지나도 괜찮을까? ‘그렇다’라고
말한다면
AP
시스템이 해답이 될 수 있다. 하지만 고객의 은행 잔고는 어떨까? 이것 역시 최신
의 잔고가 아니어도 괜찮을까? 작업이 사용된 맥락을 알지 못하면 어떤 것이 옳은지 알 수 없
다.
CAP
정리를 알게 되면, 그 절충점이 존재한다는 사실을 인식하고 어떤 질문을 해야 하는
지 이해하는 데 도움이 된다.
12.7.512.7.5
양자택일이 아니다 양자택일이 아니다
시스템 전체가
AP
나
CP
일 필요는 없다. 오래된 레코드에 대해 크게 걱정하지 않으므로 뮤직
코프의 카탈로그는
AP
가 될 수 있다. 하지만 고객에게 없는 상품을 판매했다가 나중에 사과해
야 하는 상황을 원치 않으므로 재고 서비스는
CP
가 돼야 한다고 결정할 수 있다.
하지만 개별 서비스들이
CP
나
AP
일 필요는 없다.
고객이 얼마나 많은 멤버십 포인트를 쌓았는지에 관한 기록을 저장하는 포인트 잔액 마이크로
서비스를 생각해보자. ...
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.