Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10887

Improve performance of DroolsAlarmContext alarm snapshot handling

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 24.0.0
    • Fix Version/s: 24.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - December 12th 2018, Horizon - January 30th-2 2019

      Description

      The current behaviour of the DroolsAlarmContext alarm snapshot handling is to perform a separate DB query for each alarm to find the latest acknowledgment. This can result in an excessive number of DB queries as the number of alarms increases.

      This can be improved by doing a single query for all alarms and storing that in memory while the snapshot occurs.

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              mbrooks Matthew Brooks
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: