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

Poor performance race condition in FieldCacheImpl

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • None
    • core/search
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment