When there are too many scheduled integrations configured, instances can get backlogged waiting for resources to become available or previous integration runs to complete. This can cause processing delays where some instances are in a waiting state longer than they should be and schedules may not start at the scheduled time.
If we absolutely require a large number of scheduled integrations, recommend the following design changes as a solution:
- For each scheduled integration, convert it to an application-driven orchestrated, REST Adapter trigger-based integration.
- Create a new scheduled integration that only performs an asynchronous invoke of the application-driven orchestrated integration you converted in step 1 above.
Benefits of the design:
This solution enables the scheduled integration to start at the scheduled time, invoke the REST Adapter trigger-based child integration asynchronously, and complete within milliseconds. This approach reduces the backlog and contention surrounding scheduler resources.
- Longest-running scheduled integrations.
- Scheduled integrations configured with the shortest frequency (for example, integrations that run every 10 minutes or less).
Reference:
No comments:
Post a Comment