Does calling the put(java.lang.Iterable<Entity> entities) which performs a batch put of the list of entities reduces the number of datastore write operations to just one as compared to calling put(Entity entity) n number of times?
Does calling the put(java.lang.Iterable<Entity> entities) which performs a batch put of the list of
Share
No, it does not affect the write operations. As described at Billable Resource Unit Costs in the App Engine documentation, the write operations count per entity that is stored in the datastore.
What makes a difference is the total time needed to perform all operations as in batch operations the response time from datastore is minimized compared to a series of standalone opoerations.
Hope this helps!