开发者

long time cron in App Engine

开发者 https://www.devze.com 2023-03-28 19:21 出处:网络
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

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

精彩评论

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