Filters use eventual consistency; load-by-key uses strong consistency
by default. Try doing the batch get with
ofy().consistency(Consistency.EVENTUAL).load().key(...) and you should
expect the same performance.
Eventually-consistent fetches will get data from whatever datastore
node happens to be available at the time; strongly-consistency fetches
require some sort of complex paxos handshaking among multiple nodes
that I would have to re-watch the Google I/O HRD video from 2011 to
claim to understand.
Jeff
> --
> You received this message because you are subscribed to the Google Groups
> "objectify-appengine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
objectify-appen...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>