Yannick was referring to the old method in App Engine Standard where you would use a Cron job to ensure App Engine never scaled to 0, causing initial incoming requests to see delays due to cold starts. This is the same method Patrick mentioned in his original message that he attempted to use in order to mitigate cold starts. More information about this can be found in the *Always-Cron instances* section of the blog 'App Engine Resident instances and the startup time problem'. <https://medium.com/google-cloud/app-engine-resident-instances-and-the-startup-time-problem-8c6587040a80>
This is no longer required for App Engine Standard as the new Clone Scheduler <https://cloudplatform.googleblog.com/2018/05/Increase-performance-while-reducing-costs-with-the-new-App-Engine-scheduler.html>has been released, removing this issue. Now, the scheduler sees both resident idle instances and dynamic instances as equals, meaning that the 'min-idle-instances' and the new 'min-instances' <https://cloud.google.com/appengine/docs/standard/java/config/appref#scaling_elements> configuration settings work as expected to preemptively ensure instances are warmed up to avoid cold starts (where min-instances is the absolute minimum amount, and min-idle is the amount always kicked up and running in excess to preemptively handle traffic spikes). - In App Engine Flexible you would use the same 'min_num_instances <https://cloud.google.com/appengine/docs/flexible/java/reference/app-yaml#automatic_scaling>' setting to preemptively start more instances than are required in order to prevent initial cold starts when traffic does arrive. If you are instead looking for a way to manually change the scaling configuration via code, you would use the Admin API to patch <https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions/patch> the scaling settings for the specific version you wish to modify. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/134c0d22-d32a-4865-ab8c-2cd888f9c80d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.