3 ms·
Sadly cache invalidation is one of the two hard problems in computer science. It sounds easy and simple but... it's not.
by forrestthewoods 11y ago
Sadly cache invalidation is one of the two hard problems in computer science. It sounds easy and simple but... it's not.
- grandalf 11y agoI realize that, but what aspects of it do you think are particularly hard in the example I used? Right now many people with 16GB phones have to go through a fairly painful manual process to avoid getting error messages/warnings about storage. So while it is difficult, I think that from a product perspective there would be only upside to treating it as a cache compared with the horrible usability of a 16GB IOS device with a typical 2016 usage pattern.
- plurinshael 11y agoOut of curiosity... what is the other hard problem?
- philwelch 11y agoNaming things. Also off-by-one errors.
- MichaelGG 11y agoNaming things and off-by-one errors.
- betenoire 11y ago"There are two hard things in computer science, cache invalidation, naming things, and off by one errors." cache invalidation: distributed resource synchronization naming things: all things abstraction off by one: we always fuck it up somehow