If I do db.get([key1, key2]), and two entities were fetched, how many
'operations' have I consumed?
2 entity fetches.
If key2 didn't exist and only one entity was fetched, what would be the cost?
2 entity fetches.
If db.get(key1) fetches a 5kb entity and db.get(key2) fetches a 500kb
entity, what's the difference in cost?
No difference.
> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>
- Read operations (Query, Entity Fetch) Each of these operations will cost $0.07 per 100k operations.
get() on the 500 of them that I need, or just do a regular (non keys-only) query for all 1000 directly?The first is more economical. Fetching 1000 keys + fetching 500
entities = $0.0001 + 0.00035 = $0.00045; fetching 1000 entities =
$0.0007. "