News for hackers. Stuff that matters.
Re:App Engine charges $6,500 to update a ListProperty on 14.... by bad_user on Thursday January 05, 2012 @08:28PM (#3431490)
According to the billing page [1] writes are indeed billed $0.10 for 100k operations.

Also, reads, writes and small operations (which are the ones billed) are low level operations. An API operation actually translates into several low-level operations. And the way it is described [2] I think the poster is doing more writes to reindex 10M entries.

Considering that reindexing takes 1 write for the entity itself (existing put) + 4 writes for each element in the list property and considering that the poster has on average 18 elements in that list for each entity, then he's probably doing on average 73 writes per entity (I'm taking the "Existing Entity Put" scenario into account, otherwise for new entities it would be 2 + 2 per list element == 38 writes).

So by these numbers, that's 730,000,000 writes, or a cost of $730 -- if you go over them sequentially, only one time. But considering that he's doing manual full-text indexing, maybe he had to go over those items several times for the reindexing being done.

Maybe I'm missing something here. I don't know.

[1] http://code.google.com/appengine/docs/billing.html

[2] http://code.google.com/appengine/docs/python/datastore/entit...

There are no comments on this comment yet.