When Caching Improved Performance but Broke Correctness
We had a performance problem. One of the most frequently accessed pieces of data was being read far more often than it changed. The database was handling a large number of repeated reads. The obvious solution was caching. We introduced…