On Thu, Apr 17, 2014 at 12:22 PM, saintthor <[email protected]> wrote:
> > https://developers.google.com/appengine/docs/python/modules/#Python_Background_threads > i copy the code, run and get FrontendsNotSupported. > Yes, because the code in your link was intended to be run within a backend module. On Thu, Apr 17, 2014 at 12:22 PM, saintthor <[email protected]> wrote: > i want to input some data in a request and then return. let the backend(?) > analyse the data after returning. so i use Background_threads. right? > is there anyway else to do my job? > It depends how your application is architected and what your exact needs are. For example, you can have the frontend instance put the data into a task and return immediately. Then have a backend lease the tasks off a pull queue and process them. If the processing isn't time-sensitive (doesn't need to be processed immediately), you can record the data into the datastore and process it at a later time. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
