lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <>
Subject LFUCache
Date Mon, 04 Feb 2019 15:12:32 GMT

Thanks to SOLR-12743 - one of our collections can't use FastLRUCache - we are considering
LFUCache instead. But there is SOLR-3393 as well, claiming the current implementation is inefficient.

But ConcurrentLRUCache and ConcurrentLFUCache both use ConcurrentHashmap under the hood, the
get() code is practically identical. So based on the code, i would think that, despite LFUCache
being inefficient, it is neither slower nor faster than FastLRUCache for get(), right?

Or am i missing something obvious here?


View raw message