I'm still not clear based on that article, are the dependencies still always downloaded via the internet upon instance startup? I want to know because if I'm using a large library like OpenCV, the scaling for Flex instances would be even slower, would it not? Can you use warm-up requests in the flexible environment?
On Friday, July 13, 2018 at 10:56:41 AM UTC-4, George (Cloud Platform Support) wrote: > > The Python run-time will automatically install all dependencies declared > in your requirements.txt file during deployment. The library loading delay > impact on start-up time is usually negligible; it may become a problem > though, for instance in case of large third-party libraries. Related > information may be found on the "Using Python Libraries" documentation > page > <https://cloud.google.com/appengine/docs/flexible/python/using-python-libraries> > . > > You have some means at your disposal to speed up your instance start up, > such as using warm-up requests, lazy-loading your imports, or in the most > extreme case, pruning your dependency tree. More detail on the subject may > be found on forum articles such as "Best practices for App Engine startup > time: Google Cloud Performance Atlas" in the Google Cloud Platform Blog > <https://cloudplatform.googleblog.com/2017/06/best-practices-for-App-Engine-startup-time-Google-Cloud-Performance-Atlas.html> > . > -- 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/c7991ba9-6a00-47b9-82f6-9fc38177d465%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
