Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Background process in GAE

I am developing a website using Google App Engine and Django 1.0 (app-engine-patch)

A major part of my program has to run in the background and change local data and also post to a remote URL

Can someone suggest an effective way of doing this?

like image 775
vignesh Avatar asked Jun 30 '26 23:06

vignesh


2 Answers

Check out The Task Queue Python API.

like image 59
Jason Rikard Avatar answered Jul 02 '26 14:07

Jason Rikard


Without using a third-party system, I think currently your only option is to use the cron functionality.

You'd still be bound by the usual GAE script-execution-time limitations, but it wouldn't happen on a page load.

There is plans for background processing, see this App Engine issue #6, and this roadmap update

like image 34
dbr Avatar answered Jul 02 '26 12:07

dbr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!