lucene-solr-user mailing list archives

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

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?

Thanks,
Markus

https://issues.apache.org/jira/browse/SOLR-12743
https://issues.apache.org/jira/browse/SOLR-3393

Mime
View raw message