question

AmarnathManchala-5911 avatar image
0 Votes"
AmarnathManchala-5911 asked JayaC-MSFT edited

Azure function app instances

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
· 2
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.

@AmarnathManchala-5911 which stack are you using? dotnet, python?

0 Votes 0 ·
 Dotnet
0 Votes 0 ·

1 Answer

JayaC-MSFT avatar image
0 Votes"
JayaC-MSFT answered JayaC-MSFT edited

Hello @AmarnathManchala-5911 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.


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.