Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9335

Move solr stats collections to use LongAdder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.2, 7.0
    • None
    • None

    Description

      With Java 8 we can use LongAdder which has more throughput under high contention .

      These classes of Solr should benefit from LongAdder

      • Caches ( ConcurentLRUCache / LRUCache )
      • Searches ( RequestHandlerBase )
      • Updates ( DirectUpdateHandler2 )

      Attachments

        1. SOLR-9335.patch
          25 kB
          Varun Thacker
        2. SOLR-9335.patch
          20 kB
          Varun Thacker

        Activity

          People

            varun Varun Thacker
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: