To me, 2Q reminded me a lot of the ARC, Adaptive Replacement Cache[1], as I know it from ZFS.<p>Mixing frequency of access with time of access seems to be a requirement for any cache that sees a mixed workload. On that note, has anyone tried frecency[2] for caching? I never gotten around to testing it myself and can't decide if it'd do a good job or not.<p>[1]: <a href="https://en.wikipedia.org/wiki/Adaptive_replacement_cache" rel="nofollow">https://en.wikipedia.org/wiki/Adaptive_replacement_cache</a><p>[2]: <a href="https://wiki.mozilla.org/User:Jesse/NewFrecency?title=User:Jesse/NewFrecency" rel="nofollow">https://wiki.mozilla.org/User:Jesse/NewFrecency?title=User:J...</a>