Performance Considerations

Campaigns refer to CER rule objects in order to determine whether to display campaigns. Therefore, when the underlying data that these rule objects depend on changes, CER reassessment will be triggered. This will cause Advisor to re-calculate whether the campaign should be displayed or not. This can affect performance and needs to be considered. There are two different kinds of data changes involved:

Changes to the Participants' data

These kinds of changes affect a specific participant. Take for example, a campaign that references a citizen's address. Every time the user changes their address, this change would be propagated to the rule object representing that participants address. Because the campaign rule object is dependent on this, reassessment would be triggered. This means that every time the participant changes his address, the campaign rules will be executed to determine if it should still be displayed. Therefore, it is important to consider how often a piece of data may change, and for how many citizens, and whether referencing it in a campaign may cause a performance issue within the system.

Changes to Outreach Campaigns in Administration

These kinds of changes affect all the rule executions related to the campaign in question. This means that it will trigger reassessment for every citizen that has been assessed for eligibility for this campaign. For example, if the image associated with a campaign is changed, the system will re-execute the rules for each citizen that has been considered for this campaign. This could require a significant amount of processing that could have a performance impact on the system. Accordingly, we recommend that changes in campaign administration are performed when the system is not under a heavy load, or has been taken offline for maintenance.