Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22774

Fix performance regression on audit bulker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.10-HF07, 9.2
    • Fix Version/s: 9.3
    • Component/s: Audit

      Description

      Since NXP-19721 there is a performance regression because the lock is held during the drain method, which add latency to post commit threads that submit log entries.

      In case of slow audit backend, the result is that postcommit threads are waiting and can not be reused, so it creates lots of new threads consuming resources that slow down the system.

      The lock should be release before draining and acquire when sending signal.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bdelbosc Benoit Delbosc
                Reporter:
                bdelbosc Benoit Delbosc
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 16 minutes
                  16m