Re: [google-appengine] Possible to Defer Tasks to Backend

2011-05-14 Thread Greg Darke (Google)
You should be able to send a deferred task to a backend.

Some points to remember though:
 * You should ensure that any classes/etc you reference from the
frontend must exist in the backend.
 * The deferred function should pass the 'target' parameter on to taskqueue
 * You must enable the deferred handler on the backend (just make sure
it is enabled in app.yaml when you upload the backend).


On 14 May 2011 14:41, Aaron  wrote:
> Hi,
>
> The way my application is set up involves deferring a lot of long-
> running tasks, which I now would like to move to a backend.  Is it
> possible to defer a task so that it is processed in a backend?  Or, do
> I have to create handlers for every deferred task in order to take
> advantage of this feature?
>
> Best,
> Aaron
>
> P.S. Thanks so much for the hard work!  The new features are very
> exciting :).
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Possible to Defer Tasks to Backend

2011-05-14 Thread Aaron
Hi,

The way my application is set up involves deferring a lot of long-
running tasks, which I now would like to move to a backend.  Is it
possible to defer a task so that it is processed in a backend?  Or, do
I have to create handlers for every deferred task in order to take
advantage of this feature?

Best,
Aaron

P.S. Thanks so much for the hard work!  The new features are very
exciting :).

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.