You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Bruno Roustant (Jira)" <ji...@apache.org> on 2021/06/11 09:10:00 UTC

[jira] [Updated] (SOLR-15433) Replace basic LRU by Caffeine Cache for transient core cache

     [ https://issues.apache.org/jira/browse/SOLR-15433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno Roustant updated SOLR-15433:
----------------------------------
    Fix Version/s: 8.10

> Replace basic LRU by Caffeine Cache for transient core cache
> ------------------------------------------------------------
>
>                 Key: SOLR-15433
>                 URL: https://issues.apache.org/jira/browse/SOLR-15433
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Bruno Roustant
>            Priority: Major
>             Fix For: 8.10
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Currently TransientSolrCoreCacheDefault uses a basic LinkedList LRU cache to store loaded transient cores. This can easily be replaced by the much more effective Caffeine Cache.
> For example, with the current simple LRU when new cores are added, the least recently accessed cores are evicted. So when a bunch of rarely used transient cores are opened for punctual access (and added temporarily to the cache) this causes the eviction of a bunch of regularly accessed cores. However this case is nicely handled by the Caffeine Cache which keeps the regularly accessed cores.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org