Waldemar,

I tried requesting the home page a few times. It will give me a high
CPU warning each time. Any more than a few, and I'm not sure.

At the same time, I haven't yet implemented caching.

Sam

On Sep 16, 4:37 am, Waldemar Kornewald <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Sep 16, 4:54 am, Sam G <[EMAIL PROTECTED]> wrote:
>
>
>
> > I just moved my small application from Webapp to Django. At first, I
> > was using App Engine's built in version (believe it is 0.96?). When I
> > ported it over, it started generating warnings for each display of
> > each page. The warning:
>
> > This request used a high amount of CPU, and was roughly X.X times over
> > the average request CPU limit. High CPU requests have a small quota,
> > and if you exceed this quota, your app will be temporarily disabled.
>
> > The range was between 1.0 and 2.3 times the regular CPU usage. I
> > thought that maybe upgrading to a full framework would do the trick -
> > surely this wasn't happening anywhere else. I then ported my
> > application (again) to use the app-engine-patch Django framework for
> > GAE. Now, much to my dismay, it's gotten worse.
>
> > The range is now between 3.0 and 7.8!
>
> > Is this a legit bug? Even using GAE's built in Django libs are giving
> > me warnings. My application is very small, and only displays static
> > content.
>
> Does this really happen on every request with appenginepatch? I know
> that it happens on the first request (i.e., when your app gets loaded
> for the first time) because then a "few" modules get loaded and
> patched. Unfortunately, this can't be changed because Django depends
> on them in every request. We already try to load on-demand where it's
> possible (e.g., generic views), but it's not enough to work around the
> CPU warnings and if you use most of Django's features (forms, generic
> views, etc.) you'll get CPU warnings, anyway. Django is a huge beast.
> Does Google plan to loosen the quota limits on the first request, so
> apps based on Django can load without generating a warning?
>
> Bye,
> Waldemar Kornewald
--~--~---------~--~----~------------~-------~--~----~
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