[Chapter 10] Cashable의 대상 선정과 수정의 번거로움 #167
Answered
by
corock
ahngilwoong
asked this question in
Chapter 10. Redis and Spring Cache
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ahngilwoong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Cashable을 통해 효율적인 조회가 가능한 것으로 파악했습니다.
하지만 무분별한 Cashable 사용은 안될 것 같은데 주의 조건들이 뭐가 있을지 얘기를 나눠보고 싶습니다.
CashPut과 CashEvit를 통해 캐시의 수정 삭제가 가능한 것으로 확인했습니다.
그러면 UD의 작업을 할 떄마다 번거롭게 저렇게 써줘야하는지 DB가 업데이트 되었을때 자동으로 캐시도 업데이트 되도록 하는 설정이 따로
있는지 의논해보고 싶습니다. 또 각자의 cashable의 적절한 사용 예시가 있다면 사연을 공유받고싶습니다.
Beta Was this translation helpful? Give feedback.
All reactions