Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31266

Treat queued task reporting for adaptive service executor consistently

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.4, 3.7.1
    • Component/s: None
    • Labels:

      Description

      The current metrics for reporting tasks queued are inconsistent and a bit confusing:

      deferredTasksQueued    instantaneous, deferred tasks only
      tasksQueued            instantaneous, non-deferred tasks only
      totalTimeQueued        cumulative time, both deferred and non-deferred tasks
      

      • the instantaneous metric "tasksQueued" includes only non-deferred whereas the cumulative metric "totalTimeQueued" includes both deferred and non-deferred
      • there is a cumulative time-based metric for the combined deferred and non-deferred but not for separately reporting deferred and non-deferred

      Generally the cumulative time-based counters are better because they allow computing averages over arbitrary sampling intervals so are less subject to sampling errors than instantaneous values. One approach would be to eliminate the intantaneous metrics and report only cumulative time-based metrics, broken out by type (deferred vs non-deferred).

      Probably related to SERVER-30567.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                22 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: