Thanks for the feedback.
Did you miss a link Joshua?
Some follow-up. First I want to again note that this is about
understanding, not complaining. It does appear that a free app behaves
pretty differently vs. $9/month, and I could not find this difference
documented. If Google is presenting Free as a means for folks to get
started with GAE, it will help those folks to understand that issues
such at what I have found affect Free but not the $9 month billed
apps.
I did a little more experimenting this morning using a free and a paid
version of the app. Paid app seemed to get its act together, and even
though Scheduler was giving me a second buffer instance pretty much
every time, the originating call started to get served by the existing
instance, so my latency was very low. (Not sure why yesterday all the
calls got affected by the wait for the new instance spin-up -- maybe
so few calls meant there was no data for the Scheduler heuristics.
Also, WTR to always starting a second instance for an app that is
seeing a call or two every few minutes, and only a dozen or so total
calls each day -- I am not really sure the scheduling heuristic needs
to be THAT conservative. If it takes this approach for all the very
low volume apps, then this could really add up re: infrastructure
costs for which we all are paying.)
If you look at today's log (below - edited for readability) the Free
app problem is pretty apparent. Over the course of 4 calls made over
13 minutes, 3 of the 4 stared a new instance spin so average latency
is over 4,000ms. For the one call served by a resident instance, the
response is 93ms. (Again, this is < 50 lines of Python code, which
only imports urllib and logging. Hello World is a lighter-weight app,
but not by much.)
Monitoring the Dashboard, I saw the free app instance spin-up, then
shut down pretty quickly thereafter. Nothing stayed resident for 15
minutes. This might have been because I am using Auto settings, or
because I'm just testing this so there is no history of on-going use.
But I don't think this is too much of a corner-case for someone use
Free to evaluate GAE. So some documentation to properly set
expectations would be helpful.
So, you get what you pay for. Not complaining about Free, just noting
that for something with very light usage, virtually every user will
experience 4-5 seconds of waiting when their app makes its first GAE
call (using my current settings). Livable, but not really selling GAE
in the way that I think Google hopes Free will do.
Final note: One thing that is consistent between Free and Paid apps is
the severe variability in spin-up times. Today there were two just
below 4,000ms and one almost double that. Yesterday my quickest was
700ms, my longest was tens of thousands of ms. Although if I knew
enough to understand why this happens I am sure Google would have to
kill me, it is something that my limited intelligence intuits as not
such a good thing. (Extremely well thought of by the Google guys
wearing the green eyeshades I'd guess.)
Log:
2012-05-21 07:26:42.478 /IdStringCheck 200 3723ms
I 2012-05-21 07:26:42.477 This request caused a new process to be
started
2012-05-21 07:21:57.160 /IdStringCheck 200 3873ms 0kb
I 2012-05-21 07:21:57.158 This request caused a new process to be
started
2012-05-21 07:17:24.576 /IdStringCheck 200 93ms
>>>>>Edit: only instance not causing an instance to start
2012-05-21 07:13:51.513 /IdStringCheck 7145ms 0kb
I 2012-05-21 07:13:51.512 This request caused a new process to be
started
hth, stevep
On May 21, 6:50 am, Joshua Smith <
JoshuaESm...@charter.net> wrote:
> You can absolutely do what you describe in the free tier.
>
> (Note that you'll need to disable billing, because enabled means: Bill me $2.10 a week, no matter what)
>
> The trick is that you need to go to the Application Settings panel and set it like this:
>