I was going through Azure function app best practices
https://learn.microsoft.com/en-us/azure/azure-functions/functions-best-practices
and came across the FUNCTIONS_WORKER_PROCESS_COUNT setting
I want to understand the implications of changing this setting with the following example
I have 2 Azure function apps,
1st with 1 Function and Trigger
2nd with with multiple functions and triggers.
Azure Function App1 –> Trigger1
Azure Function App2 –> Trigger1, Trigger2, Trigger3, Trigger4
The function apps are hosted in a premium plan with the following plan
No, I go and increase the value of FUNCTIONS_WORKER_PROCESS_COUNT to 4.
What will be impact of increasing the count?
If there are multiple and concurrent calls to
Case 1. Azure Function App1 – Trigger1
Case 2. Azure Function App2 – Trigger1, Trigger2, Trigger3, Trigger4
–> For Case 1, will Azure allow 4 concurrent calls to Trigger 1 and then scale out to more instances of Function App 1
–> For Case 2, Will Azure allow all the triggers to run concurrently before scaling out to more instances of Function App2
What will the impact of cost in both the cases? (I understand scaling out will cost more)