When using Azure Functions in a production environment, scalability is an important aspect to check because it allows you to tune up your service and avoid bottlenecks or resource deficits.
Azure Functions are executed on two different plans:
- Consumption plan: You pay for what you consume. Your app is scaled up or down according to your power requirements. Your billing depends on the number of executions, the execution time, and the memory that the app is using.
- Premium plan: This is quite similar to the consumption plan (scaling up and down is handled automatically according to the requested power). Your billing depends on the amount of core per second and the GB of memory per second that's used across all of your instances. The Premium plan adds the following features:
- Always warm instances to avoid cold starts
- VNet connectivity
- Unlimited execution...