开发者

long time cron in App Engine

I want to rewrite a webapp to Python and to use App Engine but I have several cron scripts that can be long running. Some time ago I used App Engine and wanted to know if there are now methods to run these scripts 开发者_如何学Pythonbecause App Engine has its limits. If you want to get an idea of ​​one of the scripts there is one that calculates the karma users based on what has been done on the website, so there are mathematical calculations, many executions SQL... and can take much time.

Thanks!


Well, you won't be running any SQL queries, because AppEngine doesn't use SQL.

Two new options for running expensive calculations are backends and MapReduce - which you choose depends on exactly what you want to achieve.


If it's just the scheduling scripts that you're asking about, then there is cron for App Engine, for both Python and Java

Edit: you can now use Google Cloud SQL with Google App Engine

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜