Cache invalidation isn't a hard problem
Автор: CodeOpinion
Загружено: 2021-12-22
Просмотров: 21223
Cache invalidation is often said to be a hard problem to solve. I don't think this is true in the context of software systems. Regardless of which caching strategies you use (Write-Through or Cache Aside), the key is to have well-defined boundaries. Other boundaries cannot be modifying data within another boundary directly at the database level. They must access it via the exposed API that forces cache invalidation or updating. Cache Invalidation doesn't need to be a difficult problem.
🔗 EventStoreDB
https://eventsto.re/codeopinion
🔔 Subscribe: / @codeopinion
💥 Join this channel to get access to source code & demos!
/ @codeopinion
🔥 Don't have the JOIN button? Support me on Patreon!
/ codeopinion
📝 Blog: https://codeopinion.com
👋 Twitter: / codeopinion
✨ LinkedIn: / dcomartin
📧 Weekly Updates: https://mailchi.mp/63c7a0b3ff38/codeo...
0:00 Intro
0:33 Write-Through
3:55 Cache Aside (Lazy Loading)
6:00 Boundaries
#softwarearchitecture #softwaredesign #caching
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: