Comment
Comment by CuriousNinja
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.
Be the first to share your thoughts.