Skip to content

Commit 81ecc6f

Browse files
authored
Add a cold start section
1 parent 3f30a25 commit 81ecc6f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/azure-functions/functions-scale.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ The unit of scale for Azure Functions is the function app. When the function app
134134

135135
![Scale controller monitoring events and creating instances](./media/functions-scale/central-listener.png)
136136

137+
### Cold Start
138+
139+
After your function app has been idle for a number of minutes, the platform may scale the number of instances on which your app runs down to zero. The next request has the added latency of scaling from zero to one. This latency is referred to as a _cold start_. The number of dependencies that must be loaded by your function app can impact the cold start time. Cold start is more of an issue for synchronous operations, such as HTTP triggers that must return a response. If cold starts are impacting your functions, consider running in a Premium plan or in a Dedicated plan with Always on enabled.
140+
137141
### Understanding scaling behaviors
138142

139143
Scaling can vary on a number of factors, and scale differently based on the trigger and language selected. There are a few intricacies of scaling behaviors to be aware of:
@@ -176,10 +180,10 @@ The following comparison table shows all important aspects to help the decision
176180

177181
<sup>1</sup> For specific limits for the various App Service plan options, see the [App Service plan limits](../azure-resource-manager/management/azure-subscription-service-limits.md#app-service-limits).
178182

179-
### Operating System/Runtime
183+
### Operating system/runtime
180184

181185
| | Linux<sup>1</sup><br/>Code-only | Windows<sup>2</sup><br/>Code-only | Linux<sup>1,3</sup><br/>Docker container |
182-
| --- | --- | --- | --- | --- |
186+
| --- | --- | --- | --- |
183187
| **[Consumption plan](#consumption-plan)** | .NET Core<br/>Node.js<br/>Java<br/>Python | .NET Core<br/>Node.js<br/>Java<br/>PowerShell Core | No support |
184188
| **[Premium plan](#premium-plan)** | .NET Core<br/>Node.js<br/>Java<br/>Python|.NET Core<br/>Node.js<br/>Java<br/>PowerShell Core |.NET Core<br/>Node.js<br/>Java<br/>PowerShell Core<br/>Python |
185189
| **[Dedicated plan](#app-service-plan)**<sup>4</sup> | .NET Core<br/>Node.js<br/>Java<br/>Python|.NET Core<br/>Node.js<br/>Java<br/>PowerShell Core |.NET Core<br/>Node.js<br/>Java<br/>PowerShell Core<br/>Python |
@@ -203,7 +207,7 @@ The following comparison table shows all important aspects to help the decision
203207

204208
<sup>1</sup> For specific limits for the various App Service plan options, see the [App Service plan limits](../azure-resource-manager/management/azure-subscription-service-limits.md#app-service-limits).
205209

206-
### Cold Start
210+
### Cold start behavior
207211

208212
| | |
209213
| -- | -- |

0 commit comments

Comments
 (0)