Azure Functions scaling, instances and parallell invocations

Lars Erik Finholt 26 Reputation points
2019-11-01T14:58:34.973+00:00

Reading the service limits we're unsure if azure functions my scale for our scenario. https://learn.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
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,154 questions
{count} vote

Accepted answer
  1. Ryan Hill 28,726 Reputation points Microsoft Employee
    2019-11-06T17:30:15.25+00:00

    Hi @Lars Erik Finholt , 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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.