Yes, you need to make the tasks *idempotent.*  If you are actually
using the task queue, it is highly likely that you will have a task
run multiple times at some point.



Robert






On Wed, Mar 23, 2011 at 15:05, Prashant <[email protected]> wrote:
> anyone from google ?
>
> On 23 March 2011 15:45, Prashant <[email protected]> wrote:
>>
>> hi,
>> appengine docs says -
>> "When implementing the code for tasks (as worker URLs within your app), it
>> is important to consider whether the task is idempotent. App Engine's Task
>> Queue API is designed to only invoke a given task once, however it is
>> possible in exceptional circumstances that a task may execute multiple times
>> (e.g. in the unlikely case of major system failure). Thus, your code must
>> ensure that there are no harmful side-effects of repeated execution."
>>
>> my doubt is -
>> in exceptional circumstances, is it possible that repeated task executions
>> happen in parallel (i.e. multiple invocations of same task on same or
>> different systems at the same time) ?
>> --
>> Prashant
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to