SOLVED

Azure Function and scaling

Occasional Visitor

I'm just starting to investigate Azure Functions and have a question.

Suppose I have a function that takes some input performs a (lengthy) calculation on it and then returns the result.

If I make 2 calls on this function such that the first is still running when I call the second, does the second one just wait until the first is complete? Does Azure run up another copy?

What if I make 50 or a 100 calls? At what point does Azure do it's magic to do something about the backlog?

(For the purposes of this question, I'm going to assume that the cost is not an issue)

1 Reply
best response confirmed by sejhemming (Occasional Visitor)
Solution

@sejhemming 

Hi,

Azure Functions uses a component called the scale controller to monitor the rate of events and determine whether to scale out or scale in. The scale controller uses heuristics for each trigger type. 

 

For detailed hosting plans refer below:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale

 

Rgeards,

Bala.