[
https://issues.apache.org/jira/browse/SOLR-16966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SOLR-16966:
----------------------------------
Labels: pull-request-available (was: )
> Add a first-class cache for OrdinalMaps
> ---------------------------------------
>
> Key: SOLR-16966
> URL: https://issues.apache.org/jira/browse/SOLR-16966
> Project: Solr
> Issue Type: Improvement
> Affects Versions: main (10.0)
> Reporter: Michael Gibney
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> SOLR-16515 updated SlowCompositeReaderWrapper to cache OrdinalMaps in a
> ConcurrentHashMap.
> This issue proposes to replace the ConcurrentHashMap with a configurable
> first-class SolrCache.
> There are a number of benefits to this approach:
> # currently ordmaps are cached in an unbounded map; this change would support
> configurable constraints on resource consumption (number of entries, bytes,
> etc.)
> # support directly autowarming the ordMapCache (which is often an indirect
> target of filterCache auto-warming or static warming queries)
> # all the benefits of Caffeine cache (e.g. async operation, preventing
> double-computation)
> Direct autowarming of ordMapCache is particularly desirable in contexts where
> static warming and autowarming are not practical, such as high-core-count and
> large numbers of unused cores at any given time.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]