Background process in GAE

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

The main part of my program should work in the background and change local data, as well as send a remote URL

Can anyone suggest an effective way to do this?

+3
source share
3 answers

Without using a third-party system, I think at the moment your only option is to use the cron functions .

You will still be bound by the standard script -execution-time-out time limits, but this will not happen when the page loads.

, . № 6,

+2
+5

I dbr http://code.google.com/appengine/docs/python/config/cron.html ( , " " ).

, , ( ) , GAE, , . GAE. API- " /", . http://code.google.com/appengine/docs/python/tools/uploadingdata.html ( http://code.google.com/appengine/docs/python/tools/uploadingdata.html#Downloading_Data_from_App_Engine ).

The Google documentation only describes using the appcfg.py command line for these purposes (I cannot find the proper documentation for the APIs that it uses!), But if you need more programmatic use of these APIs, it is not difficult to show them from appcfg sources. py.

+2
source

Source: https://habr.com/ru/post/1708038/


All Articles