이 방법에는 분명한 이점이 있다. 우선 매우 효율적이다. 하지만 이러한 형태의 캐싱은 매우 한
정적이라는 점을 알고 있어야 한다. 즉, 특정 요청의 결과만 캐싱한다. 따라서 판매 또는 카탈
로그 서비스를 호출하는 다른 작업들은 캐시에 저장되지 않으므로 이 형태의 최적화로부터 얻
는 혜택은 없다.
13.4.513.4.5
무효화 무효화
컴퓨터 과학에서 어려운 것은 캐시 무효화와 작명, 이 두 가지뿐이다.컴퓨터 과학에서 어려운 것은 캐시 무효화와 작명, 이 두 가지뿐이다.
필 칼튼
Phil
Karlton
무효화는 캐시에서 데이터를 제거하는 과정이다. 개념은 간단하지만 실행은 복잡하다. 무효화
구현 방법이 다양하고, 오래된 캐시 데이터를 활용할 때 고려해야 할 절충점이 많다는 것 외에
다른 이유는 없다. 하지만 근본적으로 어떤 상황에서 캐싱된 데이터를 캐시에서 제거해야 하는
537
13
장
확장
지를 결정하는 것이 중요하다. 어떤 경우에는 데이터의 새 버전을 사용할 수 있다는 알림을 받
았기 때문에
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.