Here in this thread https://stackoverflow.com/a/66163971/6514559 it is explained that
- If Azure decides that your App needs to scale and creates a new
host, and say there are two hosts, then values of these params (
maxConcurrentRequests
,FUNCTIONS_WORKER_PROCESS_COUNT
) are applied per host not across host. - If your App has multiple Functions then maxConcurrentRequests applies to-all/across Functions within this host, not per Function.
The questions are,
- Is it possible to have more than one function app on a single host
(Is this what is controlled by
FUNCTIONS_WORKER_PROCESS_COUNT
?) maxConcurrentRequests = 100
does this really means that all 100 requests will be processed in parallel (simultaneously) by a single host (Consumption plan , 1 CPU,1.5GB Host ) . This thread here suspects everything is executed in series?!
since each instance of the Functions host in the Consumption plan is limited to 1.5 GB of memory and one CPU (Reference), how can it run parallel loads with one CPU? On a different thought this does say ACU per instance is 100 for Consumption Plan