All other modes require the cache to provide results as if read from DB - therefore, when the DB is committed, we can't provide stale data from cache. Therefore, the data need to be invalidated before the commit.
In nonstrict-read-write mode we relax this requirement and allow the cache to return stale values until the operation is committed (with synchronous caches) or that the cache is eventually consistent (with asynchronous caches). The requirement for this mode is entry versioning.
|