Azure function app instances

Amar-Azure-Practice 656 Reputation points
2021-03-26T03:37:44.917+00:00

Hi,

I have created one Azure function app- in this i have created one Azure function on HTTP trigger. (this is taking 2-3 seconds to process a request)

I am getting Multiple request concurrently for my Azure function.

I would like to know how many active instances of the Function running in a particular moment.

I can see the history but i not finding option to see the real time view to see the how many function app instances are running.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,340 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JayaC-MSFT 5,526 Reputation points
    2021-03-31T16:32:58.657+00:00

    Hello @Amar-Azure-Practice if you want to limit the scale to one instance only then you could modify the App Setting WEBSITE_MAX_DYNAMIC_APPLICATION_SCALE_OUT.

    However, if your code is asynchronous, the same app instance can process multiple requests in parallel.

    You may also check the Singleton attribute concept here.
    https://github.com/Azure/azure-functions-host/issues/912

    Please let me if this helps.