You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/08/14 05:43:00 UTC

[jira] [Commented] (SOLR-14639) Improve concurrency of SlowCompositeReaderWrapper.terms

    [ https://issues.apache.org/jira/browse/SOLR-14639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17177511#comment-17177511 ] 

David Smiley commented on SOLR-14639:
-------------------------------------

This is a depressing discovery.  I really appreciate the thoroughness of your analysis -- I learned some things!  Let's use Caffeine.

> Improve concurrency of SlowCompositeReaderWrapper.terms
> -------------------------------------------------------
>
>                 Key: SOLR-14639
>                 URL: https://issues.apache.org/jira/browse/SOLR-14639
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 8.4.1
>            Reporter: Shalin Shekhar Mangar
>            Priority: Major
>         Attachments: Screen Shot 2020-07-09 at 4.38.03 PM.png
>
>
> Under heavy query load, the ConcurrentHashMap.computeIfAbsent method inside the SlowCompositeReaderWrapper.terms(String) method blocks searcher threads (see attached screenshot of a java flight recording).



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

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