Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Updated: (LUCENE-651) Poor performance race condition in FieldCacheImpl

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Aug 13, 2006, 6:37 PM

Post #1 of 1 (584 views)
Permalink
[jira] Updated: (LUCENE-651) Poor performance race condition in FieldCacheImpl

[ http://issues.apache.org/jira/browse/LUCENE-651?page=all ]

Oliver Hutchison updated LUCENE-651:
------------------------------------

Attachment: LUCENE-651.patch

The attached patch resolves this issue by forcing multiple concurrent requests to block and wait for a single thread to do the cached value generation.

> 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
> 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 [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.