On Tue, Dec 8, 2009 at 2:41 AM, SCMSoft <[email protected]> wrote: > This seems very weird, as the pricing is all dependent on CPU time, > and is similarly prices as for instance Amazon EC2. Now when the CPU > seconds are not actually CPU seconds but some bogus unit (that happens > to increase much faster than actual CPU usage), this suddenly makes > appengine a lot less attractive.
You can read up on this subject at: http://code.google.com/appengine/docs/quotas.html "CPU time is reported in "seconds," which is equivalent to the number of CPU cycles that can be performed by a 1.2 GHz Intel x86 processor in that amount of time. The actual number of CPU cycles spent varies greatly depending on conditions internal to App Engine, so this number is adjusted for reporting purposes using this processor as a reference measurement. One tool to assist you in identifying areas in the application which use high amounts of runtime CPU quota is the cProfile module. For instructions on setting up profiling while debugging your application, see "How do I profile my app's performance?". You can examine the CPU time used to serve each request by looking at the Logs section of the Admin Console. While profiling will assist in identifying inefficient portions of your Python code, it's also helpful to understand which datastore operations contribute to your CPU usage. Writes to the datastore use roughly 5 times as much CPU as reads. Writes that update indexes require more CPU than writes that do not. As the number of properties associated with a given entity increases, so does the CPU time required to read and write that entity. For the most part, queries are equally efficient, since all queries use indexes. However, fetching results requires additional CPU Time." -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
