I am deploying a next.js app to a Google App Engine (standard) but I am 
having trouble with cold start times.


I am building locally then deploying the .next folder to GAE. On the first 
boot it takes 15-25 seconds to boot up. Looking at the logs I can see a log 
for a very long GET 200 request but there's not really any information 
about what is going on. 


See image below:


[image: Screenshot 2020-04-18 at 17.13.29.png]



When I run yarn start locally it boots up in < 1, which as far as I 
understand is running the same production build? It is almost as though GAE 
is doing a build before it eventually deploys..


Any pointers would be immensely appreciated!


Alex

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bf380aa5-e30f-4ad7-994b-9cc250b2fa24%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