Yes.

I have implemented the warm up requests which has improved the performance 
greatly. 

So I understand, when a new instance is created what commands are run? Does 
it have to do a npm install and copy over resources, or is there more?

Thanks!


On Tuesday, April 21, 2020 at 7:12:24 PM UTC+1, Katayoon (Cloud Platform 
Support) wrote:
>
> Hello,
>
> I would like to add that whenever you send a start request 
> <https://cloud.google.com/appengine/docs/standard/nodejs/how-instances-are-managed#startup>
>  
> an instance is brought into existence and is initialized. So it needs some 
> time to load the required libraries and resources to handle the request.
>
> You may consider using warmup requests 
> <https://cloud.google.com/appengine/docs/standard/nodejs/how-instances-are-managed#warmup_requests>
>  
> to load application code into an instance ahead of time. As explained in this 
> document 
> <https://cloud.google.com/appengine/docs/standard/nodejs/configuring-warmup-requests>,
>  
> warmup requests reduce request and response latency during the time when 
> your app's code is being loaded to a newly created instance. You can 
> provision min_idle_instances 
> <https://cloud.google.com/appengine/docs/standard/nodejs/config/appref#min_idle_instances>
>  
> afterward so that a number of instances be kept running and ready to serve 
> traffic without lag.
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/36492fc1-3a01-4db2-a199-77cda7e7e3ea%40googlegroups.com.
  • [google-appengin... 'Alex Fox' via Google App Engine
    • [google-app... Blaine Garrett
      • [google... 'Alex Fox' via Google App Engine
        • [go... 'Katayoon (Cloud Platform Support)' via Google App Engine
          • ... 'Alex Fox' via Google App Engine
            • ... Blaine Garrett
            • ... 'Katayoon (Cloud Platform Support)' via Google App Engine

Reply via email to