On Mar 15, 3:54 pm, "Gregory D'alesandre" <[email protected]> wrote:
> Hey Jeff,
>
> The way it is supposed to work with min idle instances set is:
> - idle instance is warm and ready (let's call it I1)
> - request comes in
> - request goes to the idle instance at which point another instance is
> immediately spun up (let's call it I2)
> - you now have 1 idle instance (I2) as well as 1 instance serving traffic
> (I1)

Do you mean this is how the current GAE instance scheduler is
implemented?
>From my observations, sometimes the request will not go to the idle
instance but wait many seconds to go the new created instance.
I can confirm the idle instance is really idle, for in the observation
period, it didn't handle any new requests.
It is a bug? Or the machine the idle resident instance hosted on has
no free CPU?
I means "many apps are hosted the same machine, the resident instances
or the part of CPU we bought are not always available to us"?

>
> I know it might seem like we are taking the label too literally but we are
> trying to maintain idle capacity for you.  The tricky part is since we
> always spin up a new idle instance when an existing one begins to serve
> traffic it looks like they are sitting around unused when they are in fact
> being used often just others immediately take their place.  Are you sure
> this is not the behavior your are observing?
>
> Thanks,
>
> Greg
>
>
>
>
>
>
>
> On Wed, Mar 14, 2012 at 8:00 AM, Jeff Schnitzer <[email protected]> wrote:
> > On Wed, Mar 14, 2012 at 4:28 AM, Tapir <[email protected]> wrote:
>
> > > On Mar 14, 1:17 pm, Gopal Patel <[email protected]> wrote:
> > >> you mean, always have one instance more than required ? ( who is going
> > to
> > >> pay for that ? ) , and is not minimum idle instance same thing ?
>
> > > It is different with the normal resident instance.
> > > It is an instance to handle requests only at the time of the situation
> > > "no available instances and need create a new instance",
> > > so that many "Cold Starts" can be avoided.
>
> > This is pretty much exactly what setting minimum idle instances does.
> > Requests are preferentially routed to dynamic instances rather than
> > resident instances.
>
> > The problem is, something in the scheduler is broken.  Instead of
> > routing requests to the idle instance, GAE prefers to route requests
> > to a fresh instance, causing the user to wait while an instance warms
> > up.  That setting is probably best described as "minimum useless
> > instances".  Maybe somebody took the "minimum _idle_ instances" label
> > too literally ;-)
>
> > This is the behavior I observed a week or two ago.  Hopefully it will
> > be fixed.  Doesn't sound like it has been so far.
>
> > Jeff
>
> > --
> > 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