Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4999

Check synchronization in RequestProcessorMBeanImpl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Engine 2.4.2
    • Engine 2.4.4
    • Engine
    • None

    Description

      Each and every request goes through RequestProcessorMBeanImpl#addRequestData which is a synchronized block. I think this is a rather heavy bottleneck for request processing.

      In addition, some of the methods which do additional calculation are sync'ed (like getStandardDeviationDurationMsec) but others are not (like getStandardDeviationPeakRecursionDepth). This seems a little bit arbitrary to me

      Attachments

        Activity

          People

            rombert Robert Munteanu
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: