Google App Engine应用程序极其缓慢 [英] Google App Engine Application Extremely slow

查看:118
本文介绍了Google App Engine应用程序极其缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Google App Engine中创建了一个Hello World网站。它使用的是Django 1.1,没有任何补丁。



即使它只是一个非常简单的网页,它需要很长时间并且经常超时。 b
$ b

有什么建议可以解决这个问题?

注意:它在第一次调用后快速响应。


构建一个小客户端应用程序或者使用 wget cron 来定期访问您的应用程序,也许每5分钟左右一次。这应该会让Google无法进入休眠状态。



我说这是一个可怕的建议,因为这是浪费资源和滥用Google的免费服务。我希望你只在短期的测试/启动阶段才能做到这一点。


I created a Hello World website in Google App Engine. It is using Django 1.1 without any patch.

Even though it is just a very simple web page, it takes long time and often it times out.

Any suggestions to solve this?

Note: It is responding fast after the first call.

解决方案

This is a horrible suggestion but I'll make it anyway:

Build a little client application or just use wget with cron to periodically access your app, maybe once every 5 minutes or so. That should keep Google from putting it into a dormant state.

I say this is a horrible suggestion because it's a waste of resources and an abuse of Google's free service. I'd expect you to do this only during a short testing/startup phase.

这篇关于Google App Engine应用程序极其缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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