谷歌云部署如此缓慢 [英] Google cloud deploy so slow

查看:412
本文介绍了谷歌云部署如此缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google云nodejs托管。将应用部署到谷歌云时,我感到非常惊讶。每次部署都很慢。
第一次可能会很慢,但在此之后,当我更改一些js或html文件并重新部署时,它仍然很慢。



一个小型项目需要5〜10分钟的时间吗?
如何加快速度?

解决方案

nodejs应用程序使用基于docker文件的灵活环境,需要时间创建/更新。请参阅我怎样才能加速Google Cloud Platform上的Rails Docker部署?

另外,重新部署相同版本时,需要更多时间来更新服务,请参阅<一个href =https://stackoverflow.com/questions/40205222/why-does-google-appengine-deployment-take-several-minutes-to-update-service>为什么谷歌appengine部署需要几分钟来更新服务



潜在的兴趣点:


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?

解决方案

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:

这篇关于谷歌云部署如此缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆