3 ms·
Seconded that cache-invalidation is hard. This may be a cliché, but it really is hard. Implementing a cache may be easy but debugging a cache, or particularly
by jsingleton 10y ago
Seconded that cache-invalidation is hard. This may be a cliché, but it really is hard.
Implementing a cache may be easy but debugging a cache, or particularly the interactions of multiple caches (some outside of your control) certainly isn't. I've encountered these problems on many projects and also written about them in detail for my recent book.
- jakub_h 10y agoIn fact, it is well known that the two hardest things in programming are cache invalidation, naming things, and off-by-one errors.