Hi Takashi

On Saturday, October 13, 2012 8:31:43 PM UTC+8, Takashi Matsuo (Google) 
wrote:
>
>
> Hi Tim,
>
> I don't think this is a serious issue because such loading requests in 
> your app are still very rare.
>
>
I know they are rare. 
 

> In a very rare case, App Engine sometimes needs to direct a request to 
> another instance(even if there is an idle instance) for some reasons. I 
> think this is a nature of a distributed and shared system like App Engine.
>
>
It would seem that scheduling a request to one of 2 resident plus a couple 
of idle instances would be more efficient even in a distributed/shared 
environment that incurring a 29sec cost of starting up a brand new instance 
though.

In my 2.5 based code my app handler could start with no custom imports and 
serve cached content from memcache without having to start the full stack. 
This meant typically <200msec cold start to serve from cache  vs 4-6secs 
starting a complete instance.  

My instances start typically in around 4secs but I am seeing a lot of 
longer startup times.  I need to work out how I can achieve the same goal 
with the current 2.7 runtime, so as to avoid these sorts of hits in 
performance.  

T

 

> -- Takashi
>
>
> On Sat, Oct 13, 2012 at 7:31 PM, timh <[email protected] <javascript:>>wrote:
>
>> HI Takashi
>>
>> fish-and-lily
>>
>> The event occurred at  2012-10-13 07:02:32.339  GMT+8
>>
>> I was inaccurate about the traffic going to the site, but there had not 
>> been a request for at least 1minute before the request, that cause the
>> new instance.
>>
>> Regards
>>
>> Tim Hoffman
>>
>> On Saturday, October 13, 2012 1:48:57 PM UTC+8, Takashi Matsuo (Google) 
>> wrote:
>>
>>>
>>> Hi Tim,
>>>
>>> Can you tell me the details like app-id, the exact time of occurrence, 
>>> etc so I'll take a look?
>>>  
>>> -- Takashi
>>>
>>> On Sat, Oct 13, 2012 at 9:13 AM, timh <[email protected]> wrote:
>>>
>>>> Hi
>>>>
>>>> After all this time I still see some really odd behaviour from the 
>>>> frontend scheduler.
>>>>  
>>>> Case in point.
>>>>
>>>> I have a billing enabled HRD instance
>>>> Python 2.7, threadsafe=true
>>>> Two resident instances and 3 idle instances.
>>>> No traffic going to the site for the last 20-30 minutes.
>>>>
>>>> Fire up a request, and wait 20 seconds whilst a new instance is started.
>>>>
>>>> Based on all my years with appengine (first app in 2008)  and all my 
>>>> reading this does not appear to be following the rules.
>>>> I note that with this new HRD based app that startup times are often a 
>>>> lot worse than the M/S instance that it is replacing.
>>>>
>>>> Tim
>>>>  
>>>> -- 
>>>> 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/-/xkXt-**xE6NcAJ<https://groups.google.com/d/msg/google-appengine/-/xkXt-xE6NcAJ>
>>>> .
>>>> To post to this group, send email to google-a...@googlegroups.**com.
>>>> To unsubscribe from this group, send email to google-appengi...@**
>>>> googlegroups.com.
>>>>
>>>> For more options, visit this group at http://groups.google.com/**
>>>> group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en>
>>>> .
>>>>
>>>
>>>
>>>
>>> -- 
>>> Takashi Matsuo | Developers Advocate | [email protected]
>>>
>>>   -- 
>> 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/-/TqUMq209yM4J.
>>
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>
>
> -- 
> Takashi Matsuo | Developers Advocate | [email protected] <javascript:>
>
>  

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