Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-651

Poor performance race condition in FieldCacheImpl

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      Patch Available

      Description

      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).

        Attachments

        1. LUCENE-651.patch
          14 kB
          Oliver Hutchison

          Activity

            People

            • Assignee:
              otis Otis Gospodnetic
              Reporter:
              ohutchison Oliver Hutchison
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: