Taken from the Python NDB Overview:
When the application reads an entity, that entity is automatically cached; this gives fast (and inexpensive) reads for frequently-read entities.
...
The NDB function that writes the data (for example, put()) returns after the cache invalidation; the Apply phase happens asynchronously.
In watching on Youtube, Google I/O 2011: More 9s Please: Under The Covers of the High Replication Datastore, at 13:11-ish, the average latencies are:
Master/Slave:
- Read: 15ms
- Write: 20ms
High Replication:
- Read: 15ms
- Write: 45ms
How significantly does NDB affect these speeds, from the app's perspective?
Edit: Specifically curious about timing stats (in milliseconds).
Extra Credit: I've also heard Nick Johnson refer to queries taking around 160ms each (in 2009) [link]
Does NDB provide any speed benefits on queries?