Search code examples
azureazure-functionsazure-functions-runtime

Durable Functions could reduce my time execution?


I can execute a process "x" in parallel using Azure Functions Durable Fan In/Fan Out.

enter image description here

If I divide my unique process "x" in multiple process using this concept, can I reduce the execution time for the function?


Solution

  • In general Azure Functions Premium allow for higher timeout values. So, if you don't want to deal with the issue, just upgrade ;-)

    Azure Durable Functions might or might not reduce your total runtime. BUT every "Activity Call" is a new function execution with an own timeout.

    Either Fanning out or even calling activities it in serial will prevent timeout issue as long the called activity will not extend the timeout period for functions.

    If, however you have an activity which will run for an extended period, you will need premium functions anyway. But your solution with "batch" processing looks quite promising to avoid this.