Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 77330 invoked from network); 11 Nov 2006 21:50:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2006 21:50:36 -0000 Received: (qmail 67019 invoked by uid 500); 11 Nov 2006 21:50:43 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 66976 invoked by uid 500); 11 Nov 2006 21:50:42 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 66965 invoked by uid 99); 11 Nov 2006 21:50:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Nov 2006 13:50:41 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C65827142CD for ; Sat, 11 Nov 2006 13:49:40 -0800 (PST) Message-ID: <31996447.1163281780809.JavaMail.jira@brutus> Date: Sat, 11 Nov 2006 13:49:40 -0800 (PST) From: "Yonik Seeley (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-651) Poor performance race condition in FieldCacheImpl In-Reply-To: <16727874.1155519134092.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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