Previous Topic: Default Engine ManagementNext Topic: New Contract Version with Effective Dates Changed


Calculation Engine Overview

The following list demonstrates the Engine Workflow.

Continuous Calculation between contract versions means that data used by business logic to calculate service level is automatically accessible to subsequent contract versions. This feature enables the SLA-manager to create new contract versions with new effective dates. This feature enables the retention of the contents of global variables. This feature allows the calculation to continue and enables previous values of global variables to be accessible to new contract versions.

The engine handles events in the order in which they arrive. The engine cannot undo the handling of events to go back in time to a previous calculation. The engine only takes the situation as it is now and handles new events as they arrive. In cases where there is a change at a timestamp that was already calculated, the engine recalculates. The engine keeps snapshots of the calculation states periodically as defined in the system configuration. These snapshots prevent the need to recalculate from the beginning of the contract version. The calculation starts from a known calculation state, and the simplest starting point is where it began. These snapshots are referred to as states. When the engine recalculates, it starts from the time of a state nearest to the time of the change.

When a metric requires recalculation, the engine searches for the closest state before the moment when the change occurred, and calculates from that state onward. For example, there is a scenario in which a change took place two weeks ago, and the closest state before it is three weeks ago. In this case, the engine calculates from the state three weeks ago. If no such state is found, the engine recalculates from the beginning of the contract version.