As described in the linked blog page, during cold-boot time, your application code is busy scanning and importing dependencies. The longer this takes, the longer it will take for your first line of code to execute. Some languages can optimize this process to be exceptionally fast, other languages are slower, but provide more flexibility.
//_ah/warmup requests are not supported in the App Engine flexible environment. To warm up your app, implement a health check handler <https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml#updated_health_checks> that only returns a ready status <https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml#readiness_checks> when the application is warmed up. For example, you can create a readiness check that returns a ready status after initializing the cache so your app won't receive traffic until it is ready. You may find related information on the "Upgrading to the App Engine Flexible Environment Latest Release" page <https://cloud.google.com/appengine/docs/flexible/python/upgrading#warmup_requests> . -- 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 [email protected]. To post to this group, send email to [email protected]. 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/df4f4126-9983-4677-8753-33b72406040f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
