Salesforce Integration Architect Part 6: Maintain Integration
This topic includes the following objectives:
- Given an integration maintenance use case, identify performance monitoring needs for integration requirements.
Salesforce provides tools that can be used to evaluate performance of the org, its applications, or pages. These tools can be used to monitor specific attributes and metrics related to integration solutions such as integration user logins, API requests, outdated API versions, and others. In this topic, tools such as Event Monitoring, real-time events, and Salesforce Optimizer will be covered to identify their capabilities and determine how they can be used to meet performance monitoring needs in integrated solutions.
- Given a use case, identify the appropriate error handling, escalation and recovery procedures for a failed integration.
The strategy used for error handling, escalation, and recovery in an integration solution depends on the integration pattern. For instance, when an integration is based on the Remote Process Invocation – Request & Reply pattern, the caller (e.g., a synchronous Apex REST callout) should manage error handling. A suitable recovery mechanism is also important to consider in an integration solution design. In most cases, a custom retry mechanism can be implemented if quality-of-service requirements dictate it.
- Given a use case, identify reporting needs for integration monitoring.
This section takes a more in-depth look into Event Monitoring and Real-Time Event Monitoring to cover other general events that can be captured in an org environment that is integrated with another system. While Event Monitoring store events in event log files when resources are available, Real-Time Event Monitoring can stream and/or store events in near-real time. Furthermore, a transaction security policy can be created to intercept a real-time event and determine its next course of action.
The event information at the object and schema level will be described in order to provide a clearer picture of how granular the captured details are that enable for more efficient monitoring and can meet even complex reporting needs.