Integration Bus Tasks Progressively taking Longer

Jay Crowe asked on January 16, 2019 16:14

Hi,

I currently have a problem where as the more tasks that are added to the integration bus for a specific connector the longer the tasks are taking to complete.

There is a scheduled task that runs and processes it via a handler. The tasks process in a matter of seconds but the more tasks that build up on the integration bus the longer the tasks then take to process. The environment is running as a web farm and the task is set to specifically run on one of the webservers only in a separate thread.

Any advice would be appreciated.

Cheers, Jay

Recent Answers


David te Kloese answered on January 17, 2019 09:19

Wouldn't it make sense that more tasks take more time?

Can you give any rough numbers? are we talking 10... 1000... 100.000 tasks per run.

What are you connecting too? Any chance the issue is on the other side?

0 votesVote for this answer Mark as a Correct answer

Jay Crowe answered on January 17, 2019 10:00

Its the time it takes to run one task. It generally takes around 7 seconds. When more tasks build up on the integration bus the time it takes to run a single task increases dramatically. It goes from around 7 seconds to a couple of minutes.

It only takes around 4 tasks to build up for it to slow down.

The handler is essentially just creating a pdf and saving it to a share. When a customer creates an order the order goes through a workflow process. And this pdf part of the workflow is creating the invoice and then putting another task on the bus to then upload it to AWS.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.