Google Datastore queries and eventual consistency
I would like to confirm my understanding of eventual consistency in the Google datastore. Suppose that I have an entity defined as follows (using ndb): class Record(ndb.Model): name = ndb.StringProperty() content = ndb.BlobProperty() I think I understand Scenarios 1, but I have doubts about Scenarios 2 and 3, so some advice would be highly appreciated. Scenario 1: I insert a new Record with name "Luca" and a given content. Then, I query the datastore: qry = Record.query(name=="Luca") for r in qry.iter(): logger.info("I got this content: %r" % r.content) I understand that, due to eventual