0

I am sending 1000 Request asynchronously to API with timeout to each request is 10 seconds. But the trigger execute only 400 - 500 requests and ignoring rest of all.

My questions is “Is Http Trigger execute all request in parallel or sequentially or there is any limit for parallel threads in Http Trigger”.

1
  • Do you have any update about this thread? If it is useful, please mark it as an answer. Commented Aug 31, 2017 at 1:01

1 Answer 1

2

Is Http Trigger execute all request in parallel or sequentially or there is any limit for parallel threads in Http Trigger.

It should be paralleled executed, in your case it seems that there is no enough resource for dealling with the request in your service plan.

For Azure function there are 2 different modes: Consumption plan and Azure App Service plan. We may could get more info from Azure document.

The Consumption plan automatically allocates compute power when your code is running, scales out as necessary to handle load, and then scales down when code is not running.

In the App Service plan, your function apps run on dedicated VMs on Basic, Standard, and Premium SKUs, similar to Web Apps. Dedicated VMs are allocated to your App Service apps, which means the functions host is always running.

It seems that you are using App service plan, if it is that case, please have a try scale up or scale out your service plan.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.