Why is cold starts for managed functions in Azure Static Web App so much slower than "bring your own" functions?
Roger Sæle
1
Reputation point
We observe cold starts for managed functions in an Azure Static Web App to be very slow. When deploying the same function app to a dedicated Function App instead and linking it to the Static Web App, cold starts are much quicker. First requests when cold can take 15-30 sec for managed functions, whereas with "bring your own" it only takes around 1-3 sec. Why is this? Is it possible to reduce the cold start somehow?
You might say, just use "bring your own", but to leverage Distributed Functions (in our fully globally distributed web application) we need to stick with managed functions.
Sign in to answer