Re:Random notes on improving the Redis LRU algorithm
by onetwotree on Friday July 29, 2016 @02:42PM
(#12188946)
It's possible that he refers to a cache miss "going out to disk" by requiring a read from a different data store (a SQL database, for example).
But this is really kind of silly - the entire idea with caching is that misses are much slower than hits. The statement is something like "you need a stupid good cache because misses hurt". Software engineering is always about tradeoffs, and antirez does a fantastic job of describing them in this post.
Redis is an in-memory database, so what's the problem?
Also, keep in mind that it has to fit in 24 bits, so not all solutions are possible, even if they are theoretically better