Well, if you don't need distributed termination (or, in other words, you
don't need to know when the entire job is finished), than you can simply
use tasks and cursors.
A main task can execute a query limited by first N results, then launch a
task that update those entities. While the other task perform the update,
the main task fetch the query cursor and execute another query, asking for
the first N results after the cursor, an then launch another task that
update those entities, and so on...

Read about cursor
here<https://developers.google.com/appengine/docs/java/datastore/queries#Java_Query_cursors>for
java documentation or
here<https://developers.google.com/appengine/docs/python/datastore/queries#Python_Query_cursors>for
python docs.

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to