question

LarsErikFinholt-2891 avatar image
1 Vote"
LarsErikFinholt-2891 asked Mike-Ubezzi edited

Azure Functions scaling, instances and parallell invocations

Reading the service limits we're unsure if azure functions my scale for our scenario. https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits

Simplified scenario:

We have a queue triggered function, let's call it SyncData(), that will do lots of syncrone api calls (https, same endpoint). The total duration of the api calls performed by SyncData() will vary but worst case it can take up to 4mins. (due to different api responsetimes)

Now we need to be sure how Azure Functions will scale in case we get a burst of "worst case" messages on the queue (that is messages that will cause SyncData() to take 4 min.


We're currently running the S3 plan.

Our understanding of the scaling:

  • Theres no limit on outgoing connections, so this will not be a problem

  • We can configure the manual scaling to 10 instances (functions hosts)

How can we figure out how many SyncData() invocations there will be running in parallell? (the actual work beeing done in SyncData() is not cpu intensive, mainly waiting for the current api call to complete)

How can we monitor the instance count and invocations count in parallell?

 requests
 | distinct cloud_RoleInstance

The about gives us total instance count, but how to get number of parallell invocations?

Thanks for any help













azure-functions
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
0 Votes"
ryanchill answered

Hi @LarsErikFinholt-2891, thanks for the question. This service is yet to be migrated to Q&A. Please post your question directly on the MSDN forum for Azure Functions

We are actively working to onboard all services. We will make a public announcement once complete.

Thank you for your patience as we evolve the Q&A platform.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.