If you are creating a new function, see the Console Quickstart on Cloud Run. The content on this page only applies to existing legacy functions created with the Cloud Functions v1 API.
Stay organized with collections
Save and categorize content based on your preferences.
Minimize Cold Starts with Recommender
Recommender is a service that
automatically provides recommendations and insights for using resources on
Google Cloud, based on heuristic methods, machine learning, and current
resource usage. Each recommendation includes a link you can click to put the
recommendation into effect for your function.
This topic shows how to use Recommender to minimize
cold starts:
Detect functions that could benefit from setting up the minimum instances (in
other words, functions that are likely to be negatively affected by cold start
issues).
Inform users about the opportunity to eliminate cold start issues.
Let users set up the minimum instances directly from the recommendation
system.
Recommendation availability after deployment
Recommender automatically provides recommendations for a function as
soon as a week after it has been deployed.
After this period of time, recommendations for the function are displayed with
the function on the function list page in the
Cloud Run functions Overview page
in the Google Cloud console and in the
Recommendation Hub.
Alternate ways of using recommendations
In addition to the use of recommendations covered on this page inside the
Cloud Run functions UI, recommendations are also available through the following:
Look for functions in the list that have a Performance light bulb
icon in the Recommendation column.
Click Performance to view details for the recommendation:
An overview of why this recommendation is being suggested.
The recommendation itself.
If you decide to apply the recommendation, set the number of minimum
instances and click Apply.
This redeploys the function with the new minimum instance value. After this,
the recommendation will no longer be displayed next to the function.
Dismissing a recommendation
Click Dismiss if you want to dismiss the recommendation without applying it.
This prevents the recommendation for that function from appearing again for
30 days.
Viewing recommendations in Recommendation Hub
You can also view recommendations in the Recommendation Hub.
For more information refer to the Recommendation Hub
Getting started
documentation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eRecommender helps minimize cold starts in Google Cloud functions by detecting functions that would benefit from setting minimum instances.\u003c/p\u003e\n"],["\u003cp\u003eRecommendations are automatically provided for functions one week after deployment and are displayed in the Cloud Run functions Overview page.\u003c/p\u003e\n"],["\u003cp\u003eUsers can view recommendations, get details on why they're suggested, and directly apply the recommendation to set minimum instances.\u003c/p\u003e\n"],["\u003cp\u003eIn addition to the Cloud Run functions UI, recommendations are accessible through the Recommender API, BigQuery export, and Recommender Logs.\u003c/p\u003e\n"],["\u003cp\u003eRecommendations can be dismissed for 30 days if they are not applicable, and recommendations can also be found in the Recommendation Hub.\u003c/p\u003e\n"]]],[],null,["# Minimize Cold Starts with Recommender\n=====================================\n\nRecommender is a service that\nautomatically provides recommendations and insights for using resources on\nGoogle Cloud, based on heuristic methods, machine learning, and current\nresource usage. Each recommendation includes a link you can click to put the\nrecommendation into effect for your function.\n\nThis topic shows how to use [Recommender](/recommender) to minimize\ncold starts:\n\n- Detect functions that could benefit from setting up the minimum instances (in other words, functions that are likely to be negatively affected by cold start issues).\n- Inform users about the opportunity to eliminate cold start issues.\n- Let users set up the minimum instances directly from the recommendation system.\n\nRecommendation availability after deployment\n--------------------------------------------\n\nRecommender automatically provides recommendations for a function as\nsoon as a week after it has been deployed.\nAfter this period of time, recommendations for the function are displayed with\nthe function on the function list page in the\n[Cloud Run functions Overview page](https://console.cloud.google.com/functions/list)\nin the Google Cloud console and in the\n[Recommendation Hub](/recommender/docs/recommendation-hub/identify-configuration-problems).\n\nAlternate ways of using recommendations\n---------------------------------------\n\nIn addition to the use of recommendations covered on this page inside the\nCloud Run functions UI, recommendations are also available through the following:\n\n- [Recommender API](/recommender/docs/using-api)\n- [BigQuery export](/recommender/docs/bq-export/export-recommendations-to-bq)\n- [Recommender Logs](/recommender/docs/viewing-logs)\n\nViewing and accepting recommendations for Cloud Run functions\n-------------------------------------------------------------\n\nTo view and accept a recommendation in the Cloud Run functions user interface:\n\n1. [Go to the Cloud Run functions Overview page](https://console.cloud.google.com/functions/list)\n\n2. Look for functions in the list that have a **Performance** light bulb\n icon in the **Recommendation** column.\n\n3. Click **Performance** to view details for the recommendation:\n\n - An overview of why this recommendation is being suggested.\n - The recommendation itself.\n4. If you decide to apply the recommendation, set the number of minimum\n instances and click **Apply**.\n\n This redeploys the function with the new minimum instance value. After this,\n the recommendation will no longer be displayed next to the function.\n\nDismissing a recommendation\n---------------------------\n\nClick **Dismiss** if you want to dismiss the recommendation without applying it.\nThis prevents the recommendation for that function from appearing again for\n30 days.\n\nViewing recommendations in Recommendation Hub\n---------------------------------------------\n\nYou can also view recommendations in the Recommendation Hub.\nFor more information refer to the Recommendation Hub\n[Getting started](/recommender/docs/recommendation-hub/identify-configuration-problems)\ndocumentation."]]