Cache Hit or Cache Miss in case Value Only Ejection Method

Thanks, now I do understand and apologies for not separating the two.

You are correct: a get hit/miss is whether or not the data was returned to the application, whereas the ‘cache miss ratio’ is a measure of how many requests need to be fetched from disk vs being served directly from RAM.

And back to @Debasis_Mallick’s original question - any request that is served from disk is considered a ‘cache miss’, regardless of ejection mode and whether or not the metadata is still in RAM. That data will then be kept in RAM for as long as it can be.

1 Like