1 request every 5 minutes = 288 requests per day, not 240. That's 4,800 requests per day for free.
First off, whatever you're doing in that request is beefy, and whatever they're charging for those requests isn't enough! :) My test site made 10,000 requests so far today (in the task queue, mainly), and is at 20% CPU time for my 6.50 hours, so I'd come in at around 9% of your 14.50 hours. That means that I could serve 100,000 requests in a day for $1, or 3 million requests per month for $30. My tasks are themselves doing way more than a typical webpage serve. Each task loads up a bunch of data from an external site, brings it in, compares it to my datastore, then sends emails and tweets when there's changes. If you haven't done much with your App Engine, the first thing you find is that you're not coding efficiently. These pressures of per- request cost are great, because they force you to examine what you're doing at every pass. Unless you're doing some crazy calculations in each request, there's enough CPU in the free quota to host a pretty big site, so long as you code it efficiently. What exactly are you doing in that request? Looking in your logs, you should try to not let any request get above around 500ms CPU time. On Mar 21, 12:57 am, pman <[email protected]> wrote: > Today - I have a look of the budget calculation. > > My test application - make a simple request every 5 minutes. > The request retrieve some data from datastore. > > =================================== > Here's the CPU result. after 20 hours. > > Billing Status: Enabled (Daily budget: $1.00) > > Resource Usage Cost / Budget > CPU Time 6% 0.86 of 14.50 CPU hours > > ==================================== > > i.e. 6% = 240 requests > > ==> 100% ($1.00) = 240/6 x 100 = 4000 requests. > > so, for 4000 requests the cost will be $1. > > ==================================== > > then, if you have 1 million requests a month == 1000000/4000 x $1 = > $250 a month. > > ... > > Question: > > Good bargain to use appengine? -- 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.
