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

Move solr stats collections to use LongAdder

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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
          20 kB
          Varun Thacker
        2. SOLR-9335.patch
          25 kB
          Varun Thacker

          Activity

            People

            • Assignee:
              varunthacker Varun Thacker
              Reporter:
              varunthacker Varun Thacker
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: