Write-around cache: This technique is similar to write through cache, but data is written directly to permanent storage, bypassing the cache. This can reduce the cache being flooded with write operations that will not subsequently be re-read, but has the disadvantage that a read request for recently written data will create a “cache miss” and must be read from slower back-end storage and experience higher latency.
请问,这个write-around cache, 如果我们直接绕过cache,把新的数据写到database,那么cache不是保存了旧的数据吗?一个read request怎么会产生cache miss? 还是说可以有个快速的操作(比 write to the cache 快)可以让cache 里面的数据invalid?