84
Views
3
Comments
Best way to parallelize API calls
Question

Hi,

I have a requirement to send updates to system users, consuming callback APIs exposed by them. 

Each user (companies) has their own API and I'll call it using Forge Extension Dynamic Rest API. 

How can I make calls to these APIs in parallel?

2019-10-13 21-17-43
Toine Tuerlings

I would probably use BPT for such a requirement.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

In fact, BPT is the only way to do parallelization in OutSystems.

2019-04-13 08-16-46
Pawan Kumar Sharma

Hi  @Julia Edwiges de Freitas 

I agree. Just create Processes and include logic to call these apis in the processes and trigger event should be same for all these processes. That way they will run in parallel. And I would suggest to create Lightweight process with just 1 automatic activity in it, as the number of threads(20 Concurrent) to run in parallel will be more to achieve higher level of parrellism.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.