How long does a Cloud Run function instance stay idle? Is there any minimum and maximum time mentioned in the Cloud Run function doc? I could not find such information in the Doc. Also, is there any way to control this idle time?
Solved! Go to Solution.
Hi @samiul-azam,
Welcome to the Google Cloud community!
The Google Cloud Functions documentation on configuring minimum instances mentions that Cloud Functions can be configured to have a minimum number of instances. These instances are kept warm to handle requests without delay, preventing cold starts.
However, the documentation doesn't specify an exact maximum or minimum idle time for a Cloud Run function instance. In fact, the idleness time has no fixed length and may vary under different conditions.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hi @samiul-azam,
Welcome to the Google Cloud community!
The Google Cloud Functions documentation on configuring minimum instances mentions that Cloud Functions can be configured to have a minimum number of instances. These instances are kept warm to handle requests without delay, preventing cold starts.
However, the documentation doesn't specify an exact maximum or minimum idle time for a Cloud Run function instance. In fact, the idleness time has no fixed length and may vary under different conditions.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.