Woah it's working great for me today! Apparently because my changes to
enable edge-caching finally kicked in overnight (I used Brandon Wirtz's
excellent instructions
here<https://groups.google.com/forum/#!topic/google-appengine/6xAV2Q5x8AU/discussion>).
So now I have only one dyno instance and it doesn't seem to ever create a
second one even though setting is auto/auto.
Which makes sense: now a new user page load results in 2 request (html and
ajax call) vs 40 (including static resources). I still see the static
requests in logs, but with a 204 instead of 304, and taking consistently
about 23ms instead of up to couple hundred depending on file size. So they
probably return so quickly the queue never grows much if at all.
Interestingly, the Requests count in the instances page only increases by 2
(so not reporting the served 204s).
Last thing: My static cache settings filter sets a random expiry between 5
and 6 minutes, so even though every couple minutes a resource will actually
have to be served, it's one at a time:
resp.setHeader("Cache-Control", "public, max-age=3" +
Math.round(Math.random()*9) + "0");
resp.setHeader("Pragma", "Public");
Hope this helps!
On Wednesday, March 14, 2012 11:24:00 PM UTC-7, Mauricio Aristizabal wrote:
>
> I'm experiencing the same issues and it's a shame: It feels like Google
> designed an F1 race car here, and then limited top speed to 20mph.
>>
>>
> What good is this shiny platform, full of slick, ready-to-use APIs and the
> promise of automatic elasticity, if a simple page often takes 40 seconds to
> load, and there is little you can do about it?
>
> Further this doesn't seem like a complex algorithm but a simple rule:
> don't add any request to a new instance's queue until the warmup request
> returns (and it is marked available / added to the pool).
>
> I really, really, hope this is a bug that will be addressed soon (and that
> release processes are improved so others like it are never introduced).
>
> Either way, unfortunately between this and the last few days' issues AE is
> not looking very enterprise-ready at all, and I now have to consider it a
> risk rather than a highlight in my business plan and investor pitch.
>
> Mauricio
> Founder,
> commentous.com
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/TRueldNlVTUJ.
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?hl=en.