How to Choose Between Synchronous and Asynchronous Integrations (2024)

Do you need an immediate response?

Sometimes, the client application that starts the integration requires an immediate response.

No, I don't need an immediate response

If you're updating a record in an application, you typically don't need an immediate response. For example:

  • You need to synchronize inventory between two applications.
  • You need to create a packing list for an order.
  • You need to create a new employee's accounts in various business systems after you add a new record for them in your human capital management (HCM) software.

Yes, I need an immediate response

  • A customer places an order on your website and wants to see an order confirmation page right away.
  • You must complete a credit check for a customer before fulfilling an order.

No, I don't need an immediate response

Create an asynchronous integration. You can stop reading here.

Yes, I need an immediate response

Go to the next question.

Will everything finish running in seconds?

Synchronous integrations should finish in milliseconds or seconds.

Asynchronous integrations are better suited to more complex or longer-running integrations, such as integrations that must process hundreds of records.

To make this decision, draw upon your and your coworkers' experience with building integrations. If everyone is new to building integrations, consider building the integration, testing it under real-world circ*mstances, and checking the integration's performance in the activity stream. If the integration's running time is too long, you can always move some of the logic into a separate synchronous integration.

No, the integration can't run in seconds

Consider an online retailer that collects all orders in a single file. One time per day, they run an integration that loops through the orders and processes them. The processing work includes validation, enrichment, and posting to an order-processing application. This integration takes several minutes to run.

Yes, the integration can run in seconds

Consider a bank that lets customers check their bank balances in a mobile app. The customers want to know their balances immediately, not in a minute or two.

No, the integration can't run in seconds

Create a synchronous integration that provides an immediate response, and use it to run an asynchronous integration that performs the longer or more complex task.

For example, when a synchronous integration provides a customer with an order confirmation number, the synchronous integration can kick off an asynchronous integration that completes the remaining order-related tasks, including creating an account for the customer, registering the customer for marketing emails, updating inventory, and generating a packing list, and sending the packing list to the warehouse.

Yes, the integration can run in seconds

Go to the next question.

Do you need to retry if a failure occurs?

Integration failures typically occur when the client application that the integration connects to goes down. Synchronous and asynchronous integrations handle failures differently:

  • When a synchronous integration fails, Oracle Integration returns a failure response to the client. You cannot rerun the integration.

    Sometimes, you don't want to rerun an integration, typically because the information that the integration obtains is time sensitive and is relevant only to an immediate need.

  • Oracle Integration saves all requests for asynchronous integrations. Therefore, if the client application is down or otherwise unavailable when Oracle Integration sends a request for an asynchronous integration, you can rerun the integration instance in the future.

No, I don't need to rerun the integration

Rerunning an integration doesn't make sense for the following situations:

  • Obtaining the current price for a stock ticker.
  • Getting the current inventory numbers for an item.
  • Determining how many seats are currently available for a show.

Yes, I need to rerun the integration

Reunning an integration makes sense for the following situations:

  • Updating inventory in an application after the application went down for maintenance.

    After the application is available again, you need to rerun the integration so that your inventory can be synchronized for the start of business tomorrow.

  • Attaching a document to a new employee's record after someone creates the employee's record in the HCM software.

    After the employee record is created, you need to be able to attach the document.

No, I don't need to rerun the integration

Create a synchronous integration.

Yes, I need to rerun the integration

Create a synchronous integration that provides an immediate response, and use it to run an asynchronous integration that contains the actions that you need to rerun.

How to Choose Between Synchronous and Asynchronous Integrations (2024)
Top Articles
Generating Unique IDs Using Python: A Practical Guide
Policygenius
How Total Wine & More Became The Largest U.S. Wine Retailer
Hexanaut.io: Trucs et Astuces pour Notre Nouveau Jeu IO
Courses In Touch
Tbg95Co
Eric Pearson Net Worth
City Of Dreams Hosts The Biggest Movie Premiere In American History - Haute Living
Epidermis Function: How Skin Protects You and How You Can Protect It
9 Brands Of Tools That Are Owned By Harbor Freight (& Which Are Worth Buying) - House Digest
Uk Adventure Couple Leak
Medici Vermittlung GmbH sucht Facharzt (m/w/d) | Gynäkologie und Geburtshilfe (8662) in Cottbus | LinkedIn
Section 104 Capital One Arena
About iOS 18 Updates - Apple Support
Fireboy And Watergirl Advanced Method
Facebook Levels Fyi
Georgina Rodriguez Opium
10-Day Weather Forecast for Nockamixon Township, PA - The Weather Channel | weather.com
South Bend Weather Underground
80 For Brady Showtimes Near Cinemark At Harlingen
Wisconsin Lottery Numbers Post
Lubbock Avalanche Journal Newspaper Obituaries
Megared Rewards
Knotty And Vixen
My Schedule Ps3
Waarom Singapore de slechtste race van dit jaar gaat worden voor Max Verstappen
24 Hour Drive Thru Car Wash Near Me
24-Hour Arrest Knoxville Tennessee
Yankee Candle Store Locator
Fort Bragg Cif Appointment
Top 10 Things To Do in Meridian, Mississippi - Trips To Discover
Inb Vaccine Dogs
Teachers Bulge
شيراز كرم تويتر
Brittanya 187 Clothing
Munis Self Service Cumberland County
Crime Graphics Tcsd
Meetmyage Sign In
Moxxie/Relationships
Aspenx2 Newburyport
Magicseaweed Encinitas
303-615-0055
Solar Nails Port Lavaca
Ashburn Craigslist
Dairyland Car Insurance Review (2024)
Onlyonerhonda Cam
Weather Underground Merritt Island
Game Akin To Bingo Nyt
8.7 Increase Of 841
Lowest Price Traffic School Answers
Pet Urine Removal Bardstown Ky
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 5705

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.