Hi @Gallatin 21V ,
Thank you for your follow-up question.
When you submit 50 tasks at once, the expectation is that Azure Functions will attempt to scale out and assign instances to handle those tasks. However, the actual number of instances that are allocated can be influenced by several factors, including:
- Your current settings in
host.json
limit the number of concurrent activity and orchestrator functions to 1. This can restrict the throughput and prevent the scaling out to the expected number of instances. - While the documentation states that the Consumption plan can scale up to 200 instances, this is subject to other constraints, such as regional quotas and subscription limits.
- If the functions are not invoked frequently enough, Azure may not allocate additional instances immediately, even if there is a sudden increase in tasks.
To ensure that your Function App can scale effectively, consider adjusting the concurrency settings in your host.json
file and monitoring any regional or subscription limits that may apply.