Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-11637

Avoid multiple concurrent Eclwatch onActivity queries

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.6
    • Component/s: EclWatch
    • Labels:
      None

      Description

      onActivity in a large environment, I believe is still pretty expensive, it scans queues, workunits, the environment, clusters to build up a picture of what's active.

      It's also auto refreshing. I've noticed on a few occassions that Esp can have several threads all in onActiity building up this info. Which afaict is pointless, slows Esp down and involves extra Dali time/load.

      We should change, so that it blocks and only allows one and I would say if it has just calculated it within a recent short timeframe (e.g. 1s) then return that result and don't bother to recalculate.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wangkx Kevin Wang
                Reporter:
                jakesmith Jake Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: