Azure-docs: Understanding Azure function app scaling with timetrigger and servicebus trigger.

Created on 12 Jul 2019  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-docs

Lets say, my function app is in a consumption hosting plan and I have 2 functions within it - a time trigger function that is triggered every 2 minutes (* */2 * * * *) and a service bus triggered function.
Now due to the number of messages in my subscription the consumption plan scales the function app to 10 instances and at the same time the the timer trigger event is raised. Now since the function app has scaled to 10 instances will all 10 of the timer triggered functions execute ?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

azure-functionsvc cxp product-question triaged

Most helpful comment

@proguru Thanks for the question!

Even if the function app scales out, only one instance is triggered by the timer. This is also covered in its docs.

All 3 comments

@proguru Thanks for the question!

Even if the function app scales out, only one instance is triggered by the timer. This is also covered in its docs.

@proguru Just following up here... Hope my previous comment clears things up.

yes it does thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

monteledwards picture monteledwards  Â·  3Comments

Favna picture Favna  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments