为什么我的m.e.a.n.服务器这么慢?

时间:2015-09-02 07:07:12

标签: google-compute-engine mean-stack

我开始了m.e.a.n.服务器与谷歌计算引擎。看起来不错,但这应该慢吗?服务器是http://130.211.66.116:3000/

一切似乎都不错,但响应时间就像是30秒。仅仅是示例配置功耗太小而且我必须创建一个具有更多专用功能的新VM吗?我使用了谷歌的例子。

我是如何开始的:

$ gulp
Invoking gulp - development
[08:04:58] Using gulpfile ~/onacciweb/gulpfile.js
[08:04:58] Starting 'clean'...
[08:04:58] Finished 'clean' after 4.95 ms
[08:04:58] Starting 'default'...
[08:04:58] Starting 'coffee'...
[08:04:58] Finished 'coffee' after 7.29 ms
[08:04:58] Starting 'clean'...
[08:04:58] Starting 'less'...
[08:04:58] Starting 'csslint'...
[08:04:58] Starting 'env:development'...
[08:04:58] Finished 'env:development' after 33 μs
[08:04:58] Starting 'devServe'...
[08:04:58] Finished 'devServe' after 65 ms
[08:04:58] Starting 'watch'...
[08:05:04] Finished 'watch' after 5.31 s
[08:05:04] Finished 'clean' after 5.62 s
[08:05:04] [nodemon] v1.4.1
[08:05:04] [nodemon] to restart at any time, enter `rs`
[08:05:04] [nodemon] watching: *.*
[08:05:04] [nodemon] starting `node --debug server.js`
debugger listening on port 5858
[08:05:05] 
[08:05:05] Finished 'less' after 6.53 s
[08:05:05] csslint: 3 files lint free
[08:05:05] Finished 'csslint' after 6.35 s
[08:05:05] Starting 'development'...
[08:05:05] Finished 'development' after 12 μs
loading docs for: /home/niklasro/onacciweb/packages/core/articles
Mean app started on port 3000 (development) cluster.worker.id: 0
[08:05:07] index.html reloaded.

1 个答案:

答案 0 :(得分:1)

看起来你的问题是livereload.js正在超时。在Click to Deploy上,我相信有一些 post deployment 步骤必须完成才能完成MEAN实例的最终配置。你成功完成了吗?