You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2006/11/11 22:49:40 UTC
[jira] Commented: (LUCENE-651) Poor performance race condition in
FieldCacheImpl
[ http://issues.apache.org/jira/browse/LUCENE-651?page=comments#action_12449037 ]
Yonik Seeley commented on LUCENE-651:
-------------------------------------
> Wouldn't synchronizing on readerCache be sufficient here?
That would be deadly, esp to something like Solr. It would kill any ability to warm in the background as *any* index reader filling an entry would block all other readers from using the cache.
> Poor performance race condition in FieldCacheImpl
> -------------------------------------------------
>
> Key: LUCENE-651
> URL: http://issues.apache.org/jira/browse/LUCENE-651
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Affects Versions: 2.0.0
> Reporter: Oliver Hutchison
> Assigned To: Otis Gospodnetic
> Priority: Minor
> Attachments: LUCENE-651.patch
>
>
> A race condition exists in FieldCacheImpl that causes a significant performance degradation if multiple threads concurrently request a value that is not yet cached. The degradation is particularly noticable in large indexes and when there a many concurent requests for the cached value.
> For the full discussion see the mailing list thread 'Poor performance "race condition" in FieldSortedHitQueue' (http://www.gossamer-threads.com/lists/lucene/java-user/38717).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org