Re:Staying Out of TTL Hell
by CuriousNinja on Wednesday March 10, 2021 @12:34PM
(#26413799)
One of the examples on invalidating cache on write has the following code, which is buggy. If the DB call fails, then cache cache would have data that was never actually committed. Cache coherency is hard.
[ Parent
| on HN ]
There are no comments on this comment yet.