All Products
Search
Document Center

Function Compute:How to keep instances alive to eliminate the impact of cold starts?

Last Updated:Apr 01, 2026

When Function Compute receives a request, it must initialize a new function instance before invoking your function. This initialization phase—known as a cold start—adds latency to the first request each new instance handles.

To eliminate cold start latency, switch to provisioned mode. In provisioned mode, you allocate, release, and manage function instances yourself, so instances are ready before requests arrive.

For configuration details, see Instance types and instance modes.