I confirm what George said: the dependencies are only downloaded and
installed at deployment time. Instance startup does not download the
dependencies from the internet.

On Mon, Jul 16, 2018 at 10:01 AM 'George (Cloud Platform Support)' via
Google App Engine <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/google-appengine/df4f4126-9983-4677-8753-33b72406040f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANHKq5ENof0adwYtwKm%3D1%2Bpt6us3hEd9kVgCqVTOj6XYu%2Bm9BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to