Also for a static page such as about, does it not make sense to cache the
rendered template in Memcache, to save the processing?

Will.

2009/11/2 Jason C <[email protected]>

>
> We have a webapp application that occasionally gets
> DeadlineExceededErrors on cold start (i.e., >30s!). This is a regular
> occurrence on our Django-based apps.
>
> Happens at the usual times: say, 6-9a PST.
>
> j
>
> On Nov 2, 2:17 pm, Brandon Thomson <[email protected]> wrote:
> > For a simple webapp app, even cold start should be not more than
> > 50-100ms extra. One thing you might be affected by is slow import bug;
> > you may want to add more logging statements to see if that is the
> > cause. Either way try to bring it to the attention of googlers so they
> > can look into it as there is probably nothing you can do.
> >
> > On Nov 1, 5:48 pm, Blake <[email protected]> wrote:
> >
> >
> >
> > > Hi -
> >
> > > I have a relatively simple app and I've noticed significant
> > > performance degredation over the last week. Even on extremely simple
> > > pages like the "about" page which has the following code:
> >
> > > class About(webapp.RequestHandler):
> >
> > >     def get(self):
> >
> > >         template_values = {}
> > >         path = os.path.join(os.path.dirname(__file__), '../views/
> > > about.html')
> > >         self.response.out.write(template.render(path,
> > > template_values))
> >
> > > Yesterday, requests to this page were taking anywhere from 10-15
> > > seconds to display from the time appengine first recorded the request
> > > arrival - just to verify I adding some logging and it was almost the
> > > entire time  of the request before flow control was in my class.
> > > Naturally once my code was executing it finished very quickly as all
> > > it does is render a static html file. Some requests finished almost
> > > instantaneously, but consistently I ran into the enormous delay. This
> > > pattern leads me to believe that I'm being affected by the "cold
> > > start" phenomenon but I would expect that as I continued to hit
> > > refresh to generate logging data that all subsequent loads would be
> > > fast, but many were not. Any insights?
> >
> > > -Blake
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to