You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2009/09/07 18:44:58 UTC

[jira] Created: (SOLR-1416) reduce contention in CoreContainer#getCore()

reduce contention in CoreContainer#getCore()
--------------------------------------------

                 Key: SOLR-1416
                 URL: https://issues.apache.org/jira/browse/SOLR-1416
             Project: Solr
          Issue Type: Improvement
            Reporter: Noble Paul
            Priority: Minor


every call to CoreContainer#getCore() is synchronized . We should reduce the contention . The writes are very infrequent and reads are frequent . How about using a ReadWriterLock?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1416) reduce contention in CoreContainer#getCore()

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul updated SOLR-1416:
-----------------------------

    Attachment: SOLR-1416.patch

> reduce contention in CoreContainer#getCore()
> --------------------------------------------
>
>                 Key: SOLR-1416
>                 URL: https://issues.apache.org/jira/browse/SOLR-1416
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Priority: Minor
>         Attachments: SOLR-1416.patch
>
>
> every call to CoreContainer#getCore() is synchronized . We should reduce the contention . The writes are very infrequent and reads are frequent . How about using a ReadWriterLock?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.