Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.95k stars 442 forks source link

Optimize HostPerformanceManager calls on cold start #3506

Open mathewc opened 6 years ago

mathewc commented 6 years ago

To improve cold start, we should skip/delay threshold checks until after cold start is complete.

paulbatum commented 6 years ago

Might be dangerous to do this in dedicated, where the the thresholds could already be exceeded by other apps on the same plan. We could end up getting failures during indexing/initialization due to outbound connection exhaustion.