Does ndb support lists in get_by_id()? This could then be executed in parallel.
You should then check with appstats on the GAE hardware if it works in parallel.

db_keys = EMail.query(EMail.Status != 'Complete').fetch(keys_only=True)
res = EMail.get_by_id( [k.id() for k in db_keys] )
list comprehensions are faster then append() calls

-- 
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