Google cloud deploy so slow

2019-01-20 07:51发布

问题:

I'm using google cloud nodejs hosting. I'm so surprised when deploy app to google cloud. It's very slow for each deploying. It could be slow the first time, but after that, when I change some js or html file and re-deploy, it is still slow.

Does it take 5~10 minutes to deloy a small project? How could I speed it up?

回答1:

The nodejs apps use flexible environment based on docker files which take time to create/update. See How can I speed up Rails Docker deployments on Google Cloud Platform?

Also, when re-deploying the same version some additional time is required to update the service, see why does google appengine deployment take several minutes to update service

Potentially of interest as well:

  • google app engine deploy a custom vm app takes a long time to deploy