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

Check synchronization in RequestProcessorMBeanImpl

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Engine 2.4.2
    • Fix Version/s: Engine 2.4.4
    • Component/s: Engine
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: