Add binding attribute to control function scaling
We use azure functions extensively. One of the issues we have is not being able to control individual functions scaling. I am not talking bout the function app here, but the functions themselves.
Using the new attribute binding system could be a very nice way to set the max number of instances a function can spawn.
[MaxParallelExecution(5)] or something like that.
this would make it so that particular function does not scale over 5 instances.
We do plan to provide more control over scaling on an app level in the future – as the app is the unit of scale. As such will likely manifest as an app setting and not a function binding. Thanks for the feedback.