I have not had your issue and I run 2.7 pretty much exclusively.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of bFlood
Sent: Thursday, November 03, 2011 10:12 AM
To: Google App Engine
Subject: [google-appengine] Re: Threaded Python AppEngine for Dummies

does anyone else find the python27/threadsafe option slow? in some simple
testing, I'm getting a lot of pending_ms and throttle_code=1 flags in the
logs. These are dead simple requests that response in 20-30ms under no load.
With a couple concurrent requests, the execution time can jump to over
1000ms (ignoring the standard cold starts). I've let the app warm up a
little and start a few instances but the delays are still there (I've also
tried full automatic on the sliders as well as 10 idle instances with 10ms
delay)

what's strange is the delays are either pending_ms related or spread
throughout the request (as if the multiple requests per instance are
affecting each other, which I realize should occur but not to this level. if
this is it, it's worthless). These are pretty simple requests (one memcache
request, output to json) so there's no global locking that could be slowing
it down

or, this is just experimental and all of the optimizations are not even in
place yet. hoping for this :)


On Nov 3, 12:49 pm, Sami Lehtinen <[email protected]> wrote:
> Hi,
>
> I have been browsing around and I still don't know how many parallel 
> tasks one instance can handle if multithreading is enabled. I haven't 
> seen exact figure or any logical description how this value is being 
> calculated for each application.
>
> Could someone tell me?
>
>  - Thank you!
>
> --
> Sami Lehtinenhttp://www.sami-lehtinen.net/

--
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.


-- 
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