Re:If All You Have Is a Database, Everything Looks Like a Nail
by SigmundA on Tuesday December 08, 2020 @08:18AM
(#25344646)
"There are only two hard things in Computer Science: cache invalidation and naming things."
Seriously don't build a cache until you have exhausted all other performance improving avenues. I am not against caches but throwing a new cache in the code every time a performance issue is found or worse preemptively making a cache due to a possible performance issue is an endless source of cache invalidation bugs.
Seriously don't build a cache until you have exhausted all other performance improving avenues. I am not against caches but throwing a new cache in the code every time a performance issue is found or worse preemptively making a cache due to a possible performance issue is an endless source of cache invalidation bugs.