title: How many parallel tasks can do with FUNCTION_WORKER_PROCESS_COUNT equals 10
body: <p>Azure Function architecture:
  <a href="https://i.stack.imgur.com/NHbbq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NHbbq.png" alt="Function architecture" /></a></p>
  <p>So we are setting a pipeline in Azure Datafactory, it contains 4 triggers to trigging Function1 at the same time with 4 different parameters.</p>
  <p>Pipeline -&gt; Function1-param1  Function1-param2  Function1-param3  Function1-param4</p>
  <p>Yesterday, I tried to trigger that pipeline 2 times in 5 minutes, e.g. 10:30 and 10:31. That means, that time I tiggered Function1 for 8 times in 5 minutes.</p>
  <p>Pipeline -&gt;</p>
  <p>time 1 Function1-param1  Function1-param2  Function1-param3  Function1-param4 10:30</p>
  <p>time 2 Function1-param1  Function1-param2  Function1-param3  Function1-param4 10:31</p>
  <p>Strange thing is that, we expect 8 calls running parallel cause FUNCTION_WORKER_PROCESS_COUNT is setting to 10, but there are only 6 calls running parallel, 2 are running after that.</p>
  <p>So the question is, what is the relationship between FUNCTION_WORKER_PROCESS_COUNT and the tasks that can running parallel.</p>
  <p>Function is written in Powershell 7.</p>