Durable azure function versus azure function maximum execution duration

john john Pter 950 Reputation points
2024-02-04T17:58:02.9466667+00:00

I want to build an azure function which run on schedule bases to build around 30 reports data, once a day, the execution of the job can take more than 1 hour and i will host it inside a consumption plan. now as i know that azure function maximum execution time in consumption plan is 10 minutes, which will no work for me.. so if i add the durable function orchestration , what will be the maximum execution time ? can it extend to more than 1 hour under consumption plan?? Thanks

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,668 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dronec 176 Reputation points
    2024-02-08T10:30:28.0733333+00:00

    I had a similar task and ended up using containers instead: they're lightweight, not so limited in terms of resources and your existing functions can be easily converted to a container image that you'd run on schedule.

    0 comments No comments

  2. Mike Urnun 9,856 Reputation points Microsoft Employee
    2024-02-23T07:05:30.72+00:00

    Hello @john john Pter - The Durable Functions is bound by the same 10min limit when running on Consumption plan. You might consider dedicated plans, webapp on app service, or a container apps for your scenario. Hope this helps. Feel free to tag me in the comments below if you have any follow-up questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.