Improve performance of DroolsAlarmContext alarm snapshot handling

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.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jesse White February 1, 2019 at 2:44 PM

Matthew Brooks December 16, 2018 at 1:08 AM

Fixed

Details

Assignee

Reporter

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created December 15, 2018 at 7:18 PM
Updated June 3, 2019 at 7:23 AM
Resolved February 3, 2019 at 12:43 PM
Loading...