QuestionQ43

VerifiedDesigning integration solutions to meet reliability requirements

A retail company is implementing a MuleSoft API to retrieve inventory details from two vendors by calling each vendor's online application. Because of network issues, calls to the vendor applications intermittently time out, but the requests succeed when each vendor application is called again.

What is the most performant way to implement the API so it invokes each vendor application and retries invocations that produce timeout errors?

Explanation

Scatter-Gather processes the two vendor calls on separate parallel routes and combines the route results, providing better performance than serial processing. Placing each outbound call in an Until-Successful scope retries that call when it fails because of an intermittent timeout, until it succeeds or the configured retry limit is exhausted.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!