title: GAE: How long to wait for eventual consistency?
body: <p>I have an app where I am creating a large number of entities.  I don't want to put them in the same entity group, because I could be creating a lot of them in a short period of time -- say 1 million in 24 hours.</p>
  
  <p>At certain points, I want to get all of these entities with a query like this:</p>
  
  <pre><code>Foo.all()
  </code></pre>
  
  <p>How long do I need to wait after the last Foo entity is created to be highly likely to get all of the Foo entities with this query?</p>
  
  <p>EDIT:</p>
  
  <p>From this <a href="https://stackoverflow.com/questions/15460926/google-app-engine-ndb-put-and-then-query-there-is-always-one-less-item">question</a>, it seems that I <strong>can't</strong> get all my entities right away.  Would be great to know how long I should wait.</p>