在Google App Engine上计算的最长时间 [英] Max Time for computation on Google App Engine

查看:81
本文介绍了在Google App Engine上计算的最长时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Google App Engine上使用Python或Java开发时间表生成器。这个应用程序至少需要4到5分钟才能在输入所有数据时计算结果。



我的疑问是如何运行一个复杂的过程,需要很长时间才能在Google App Engine上处理,因为进程允许的最长时间为60秒,而且任务队列是否有帮助?

还有其他免费的云端主机可以用于此目的吗?

解决方案

Google App Engine(GAE)如果您使用任务队列,则需要10分钟的超时时间。您还可以使用后端(如 Google文档后端免于用户请求的60秒截止日期, 10分钟任务的最后期限,并无限期运行。)。 可能亚马逊网络服务(Elastic Beanstalk)更适合您的需求:)。


I want to develop a Time Table Generator using either Python or Java on Google App Engine. This app will take at least 4 to 5 minutes to compute the result in the end when all the data has been entered.

My doubt is how to run a complex process which takes long time to process on Google App Engine since the max time allowed for a process is 60 seconds and also whether the task queues will be of any help here?

Also is there any other free cloud host which I can use for this purpose?

解决方案

Inside the Google App Engine (GAE) you have only a 10 minute timeout if you are using a Task Queue. You can also using Backends (as explained in the Docs: Backends are exempt from the 60-second deadline for user requests and the 10-minute deadline for tasks, and run indefinitely.).

Maybe the Amazon Web Services (Elastic Beanstalk) are a better place for your needs :) .

这篇关于在Google App Engine上计算的最长时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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