Hi Ikai, Thanks for your explanation.
I've changed my code and retest it, the result is here: 5.79944705963 0.194540023804 0.238615989685 5.65248513222 > ms=11965 cpu_ms=114077 api_cpu_ms=112812 cpm_usd=3.168863 I can see the batch db.get() becoming much faster than before. BTW, db.create_config() doesn't be documented in Datastore functions<http://code.google.com/appengine/docs/python/datastore/functions.html>, I think the document should be updated. ---------- keakon My blog(Chinese): www.keakon.net Blog source code: https://bitbucket.org/keakon/doodle/ On Fri, Jan 7, 2011 at 6:06 AM, Ikai Lan (Google) <[email protected]<ikai.l%[email protected]> > wrote: > config = db.create_config(deadline=5, read_policy=db.EVENTUAL_CONSISTENCY) > -- 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.
