[google-appengine] Re: Request Slow Down

2009-08-25 Thread nickmilon
around 10 cpu_ms for a hot start is my observation while a cold start consumes around 100 as I have noted here : http://gaengine.blogspot.com/2009/08/cpu-and-latency-of-bare-bones.html On Aug 25, 10:43 am, pythono wrote: > Strange issue.  Usually my latency for a simple write "HelloWorld" >

[google-appengine] Re: Request Slow Down

2009-08-25 Thread PubliusX
Hey, thanks.. but I figured out the problem. Apparently if there are too many requesthandlers (referenced in the handler script), then appengine doesn't cache the handler script.. At least thats what I think.. because I reduced the number by removing an arbitrary 5-6 classes and its back to the o

[google-appengine] Re: Request Slow Down

2009-08-26 Thread Nick Johnson (Google)
Hi PubliusX, On Tue, Aug 25, 2009 at 8:38 PM, PubliusX wrote: > > Hey, thanks.. but I figured out the problem. Apparently if there are > too many requesthandlers (referenced in the handler script), then > appengine doesn't cache the handler script.. At least thats what I > think.. because I red

[google-appengine] Re: Request Slow Down

2009-08-26 Thread Andy Freeman
Is there any reason to prefer multiple app.yaml entries over few? That is, one can match /pages/.*, /users/.*, /tasks/.*, /foo/.*, etc with separate app.yaml entries, followed by a catch-all app.yaml entry, each with its own handler file, each file with its own wsgi application, or with a single

[google-appengine] Re: Request Slow Down

2009-08-27 Thread Nick Johnson (Google)
On Wed, Aug 26, 2009 at 6:39 PM, Andy Freeman wrote: > > Is there any reason to prefer multiple app.yaml entries over few? > > That is, one can match /pages/.*, /users/.*, /tasks/.*, /foo/.*, etc > with separate app.yaml entries, followed by a catch-all app.yaml > entry, each with its own handler

[google-appengine] Re: Request Slow Down

2009-08-27 Thread Jaap Taal
Hi Nick, You say: "The same Python runtime environment can be used by multiple handlers - in which case they will share the same loaded modules." Is this always the case? Or do you need to programmatically do this? If so, how do you achieve that? Jaap On Thu, Aug 27, 2009 at 1:47 PM, Nick Johns

[google-appengine] Re: Request Slow Down

2009-08-28 Thread Nick Johnson (Google)
On Thu, Aug 27, 2009 at 9:12 PM, Jaap Taal wrote: > Hi Nick, > > You say: "The same Python runtime environment can be used by multiple > handlers - in which case they will share the same loaded modules." > Is this always the case? Or do you need to programmatically do this? If so, > how do you ac

[google-appengine] Re: Request Slow Down

2009-08-28 Thread Arjun Vasan
Hey Nick, Thanks for the prompt reply. Thats what I thought, but if you could explain why removing a certain number of URL handlers in main.py somehow did the trick, I would much appreciate it. I can intentionally reproduce the effect, if you like. I wasn't getting a new instance.. well at least