cancel
Showing results for 
Search instead for 
Did you mean: 

Scatter gather pattern

srivera
New Contributor II

Does SnapLogic support some EAI patterns like Scatter-Gather? If so, where can I find them.

Thanks

6 REPLIES 6

akelpe
Former Employee

Can you explain what you are trying to do?

srivera
New Contributor II

Call multiple RESTful API currently and then join all the results back together for 1 return document.

customer Info (input)

  • Call API 1 with customer info
  • Call API 2 with customer info or subset
  • Call API N with customer info
  • Wait for all to return
  • Gather all results together
  • return 1 merged document to caller

Scatter-Gather

I just did something like this but with multiple DB SELECT queries. I used an N-way copy to copy the data out to each SELECT with an N-way JOIN/merge snap on the return side to combine the results into a single document. It should work conceptually with multiple REST GETs in place of the DB SELECTs.

aakumar
New Contributor III

can you please share your piple line as an example? [after you remove any sensitive info from the pipeline]