3 ms·
"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 pe
by SigmundA 6y ago
"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.
- raverbashing 6y agoYes don't cache everything needlessly, use it wisely