Load balance External Task

Hi All,

Q1. Instead of polling task by external service. I want to have web-hook mechanism to trigger the task. Is there any good libraries for the same?

Q2. Few of our service depends of external API. We want to manage the load on external API. For example, one service can serve only 30 request per second. How to manage this? Is it possible using BPMN only?

Regards

Hi @anon8058936

You can handle the load in your external task worker by specifying the maxTasks parameter. If you set it to 1, each cycle will handle only a single task and the other queue up in the external task list of the engine.

This is transparent to the BPMN process.

Hope this helps, Ingo

1 Like