queue triggered Azure function - how many function instance can run parallelly

Pratim Das, Partha C 346 Reputation points
2024-06-21T07:42:28.55+00:00

Hi Team,

I have a queue which contains 10K messages. I have one queue triggered Azure Function(either consumption plan/ App Service Plan yet to be decided). I need to process those messages in parallel.

My question is, what is the max. limit of parallel execution of azure function? What are the deciding factor for the parallelism?

Quick response will be highly appeciated as that will help me to design the architecture.

Regards,

Partha

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

1 answer

Sort by: Most helpful
  1. Deepanshukatara-6769 16,405 Reputation points Moderator
    2024-06-21T07:52:38.8833333+00:00

    Hi, Welcome to MS Q&A
    The maximum limit of parallel execution of Azure Functions depends on the type of plan your function app is running on. In the Consumption and Premium plans, function apps are scaled out automatically based on incoming events, and the number of instances can be increased to handle increased load. In Dedicated (App Service) plans, you must manually configure your instances or set up an autoscale scheme.

    Durable Functions can indeed be used for parallel processing. You can use fan-out/fan-in patterns to execute multiple activities in parallel.

    For more information, you can refer to the following Azure documentation:

    Please accept if it helps you , kindly let us know if further questions

    Thanks

    Deepanshu


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.