[ https://issues.apache.org/jira/browse/SOLR-8906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954120#comment-15954120 ]
ASF subversion and git services commented on SOLR-8906: ------------------------------------------------------- Commit 52632cfc0c0c945cff2e769e6c2dc4dc9a5da400 in lucene-solr's branch refs/heads/master from [~erickerickson] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=52632cf ] SOLR-8906: Make transient core cache pluggable > Make transient core cache pluggable. > ------------------------------------ > > Key: SOLR-8906 > URL: https://issues.apache.org/jira/browse/SOLR-8906 > Project: Solr > Issue Type: Improvement > Reporter: Erick Erickson > Assignee: Erick Erickson > Attachments: SOLR-8906.patch, SOLR-8906.patch, SOLR-8906.patch, > SOLR-8906.patch, SOLR-8906.patch > > > The current Lazy Core stuff is pretty deeply intertwined in CoreContainer. > Adding and removing active cores is based on a simple LRU mechanism, but > keeping the right cores in the right internal structures involves a lot of > attention to locking various objects to update internal structures. This > makes it difficult/dangerous to use any other caching algorithms. > Any single age-out algorithm will have non-optimal access patterns, so making > this pluggable would allow better algorithms to be substituted in those cases. > If we ever extend transient cores to SolrCloud, we need to have load/unload > decisions that are cloud-aware rather then entirely local so in that sense > this is would lay some groundwork if we ever want to go there. > So I'm going to try to hack together a PoC. Any ideas on the most sensible > pattern for this gratefully received. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org