r/programming • • Apr 16 '12

Google App Engine: CPU hours very expensive according to RSA benchmark

http://programmersbraindump.blogspot.com/2012/04/quick-google-app-engine-rsa-benchmark.html
0 Upvotes

31 comments sorted by

View all comments

12

u/schettino72 Apr 16 '12

I guess the way the benchmark was done completely wrong.

Tip: try create to run your code more than a few seconds if you are looking at cost per hour.

4

u/gilgoomesh Apr 16 '12

You are correct in the context of the analysis in the article but if the author had intended to test overheads to transactions, it would have been valid for the test to be 1 calculation, wait for cool-off, measure cost of transaction, and only then repeat. This style of test would be particularly valuable if you expect all usage to be short, isolated transactions.

I guess what the article should have concluded is that Google App Engine works badly for short, isolated transactions.

2

u/schettino72 Apr 16 '12

I am pretty sure the overheads will be very very far away from the free quota.

by the way: appengine include some headers in the HTTP with an estimate of the cost:

X-AppEngine-Estimated-CPM-US-Dollars: $0.000762
X-AppEngine-Resource-Usage: ms=42 cpu_ms=28 api_cpu_ms=0

if you trust them of course :)