We're finding that a deployment of our Azure Function (AFRv1 / Node.JS) is taking a really long time (15-25 minutes). The cause of this is clearly the number of files in node_modules, but I feel like there must be a better way around this that I haven't looked at.
We deploy the application and node_modules (pre-yarn-installed) as a zip package using the Azure App Service Deploy
VSTS task.
Is there an optimised way of deployment using an archive that doesn't take such a long time? Perhaps something that is better at differential deployments?
For some reason, 1 function takes between 2 to 20 minutes to deploy. It's always the same function, and all the others take about 30 seconds.
Guaranteed for up to 60 minutes.
Long-running functions can be implemented through Azure Durable Functions.
Yes, you can do two things to reduce deployment time (and cold start time too):
and/or
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With