2012-08-27 08:05 is the point in the logs. 1 Resident instance. No Dynamic instances. The request was sent to a cold starting Dynamic instance. Resident instance did nothing. Request took 18 seconds to serve.
On Monday, August 27, 2012 2:16:25 AM UTC-7, Johan Euphrosine (Google) wrote: > > On Mon, Aug 27, 2012 at 5:59 AM, Carl Schroeder > <[email protected] <javascript:>> wrote: > > Let me see if I understand this correctly: there is currently no way on > app > > engine to ensure that there is an instance ready to process incoming > > requests for an app that has been idle for some period of time. Min idle > > instances (labeled as Resident) sit there and do almost nothing while > user > > facing requests are instead sent to cold instance starts. If true, that > > dovetails with what I have seen in the behavior of my app. For python > > runtimes with sub-second spinup times, this is no big deal. For java > > runtimes with spinup times in double digit seconds it is a deal-breaker > of a > > "feature". > > > > The problem seems to be that the scheduler thinks sending a request to a > > non-existent dynamic instance is a better idea than using the Resident > > instance for it's intended purpose: to serve requests when dynamic > instances > > are unable to. This is probably a corner case born of low traffic > conditions > > that allow user request serving dynamic instances to despawn. > > Hi Carl, > > That's not what we observed, as I corrected in the previous email: > """ > Resident instances are used for processing incoming request if there > is no dynamic instance, but it is possible that the scheduler warm up > new dynamic instance to maintain the Min Idle Instance invariant. > """ > > If you observe a different behavior please comment with your > application id and the timestamp of occurence and we can try to figure > out what happened. > > Thanks in advance. > > > > > For low traffic apps, "Resident" instances serve almost no purpose. > Better > > to do away with them via the slider bars and just set up a script to > tickle > > the app just often enough to keep one "Dynamic" instance resident. > > > > So, two features to fix this: > > First, a slider bar labeled "Minimum Dynamic instances" ;) > > Second, a button to enable sending warm-up requests and having them > return > > before considering an instance for user facing requests. > > > > > > -- > > 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/-/G4DPOlW2Jh8J. > > > > 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. > > > > -- > Johan Euphrosine (proppy) > Developer Programs Engineer > Google Developer Relations > -- 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/-/ApT6E62dU9QJ. 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.
