"When implementing the code for Tasks (as worker URLs within your
app), it is important that you 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." -http://code.google.com/
appengine/docs/python/taskqueue/overview.html

According to this part of the documentation, it would seem that
setting up an email-sending task-queue is impossible. After all,
sending someone the same email thousands of times would be disastrous.
Yet the documentation also gives email sending as an example use of
the Task Queue.

This seems to be contradictory. How can I create a Task Queue for
sending email without running into problems of idempotence?

Thanks for your help.

-- 
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-appeng...@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.

Reply via email to