Differences Between Synchronous and Asynchronous Integrations
An application integration can be synchronous or asynchronous. Synchronous and asynchronous integrations have some key differences, including whether they provide an immediate response.
Question | Synchronous integration | Asynchronous integration |
---|---|---|
Optimal use |
Best for delivering real-time information |
Best for performing work in batch operations |
Response |
Oracle Integration sends a response after the integration finishes running, so you know the integration succeeded |
Oracle Integration sends a response immediately after receiving the request, so you know Oracle Integration received the request The response is an HTTP 202 Accepted message You don't receive a response when the integration finishes running unless you configure an invoke to provide a notification |
Run timing |
The integration runs immediately |
Oracle Integration places the integration in a queue |
Payload |
The response includes a payload |
The response doesn't include a payload |
Guaranteed delivery of requests |
The integration doesn't guarantee the delivery of its requests |
The integration guarantees delivery of its requests |
Long-running tasks |
The integration cannot perform long-running tasks |
The integration can perform long-running tasks |
Subscribe to events |
The integration cannot subscribe to events |
The integration can subscribe to events |
Rerun after failure |
You cannot rerun the integration if it fails |
You can rerun the integration if it fails |