Home > Back-end >  Is the cold start time related to function execution time in Serveless Computing?
Is the cold start time related to function execution time in Serveless Computing?

Time:12-05

Is there a relationship between function cold start time and function runtime?

CodePudding user response:

Your cold start time is related to the size of your lambda including 3rd party libraries you may be using with layers or directly in your deployment package. Your overall runtime will not affect the cold start unless you count the time it takes for the lambda to gather up the resources.

CodePudding user response:

In the Azure cold start can be connected with way of hosting your Azure Function. For example in the consumption plan after some idle time it could need some additional time to execute your request. Using App Service Plan you can check whether you have https://docs.microsoft.com/en-us/azure/azure-functions/dedicated-plan#always-on

  • Related