News for hackers. Stuff that matters.
Re:Caching is an Abstraction, not an Optimization by tengbretson on Friday July 04, 2025 @12:40PM (#44465957)
I've never really understood it either. In my experience, in order for a cache to be a possible solution to a given problem at all, you must either:

1. Be content with/resilient to the possibility of stale data.

2. Gatekeep all reads and writes (for some subset of the key space) through a single thread.

That's basically it.

There are no comments on this comment yet.