On Oct 2, 5:22 pm, Tim Hoffman <
zutes...@gmail.com> wrote:
> Hi
>
> > My app traffic is very small now. This is the pain.
> > I just found the scheduler doesn't restart the idle instance
> > automatically, or doesn't restart the idle instance when the instance
> > is idle.
>
> Instead, it restarts the idle instance when a visit comes. This is so
>
> > bad. It will make the just coming visit wait for more than 10 seconds.
>
> This is correct behaviour as documented, and extensively discussed over the
> last few months.
This problem mentioned in this thread may do the same as documented.
But the one in this thread doesn't.
http://groups.google.com/group/google-appengine/browse_thread/thread/fa88cb15fe5c22c0/4aab990b3b2efc8e?lnk=raot&pli=1
You can see the instance status snapshots in this thread:
http://groups.google.com/group/google-appengine/browse_thread/thread/9dc347efd7527373
The scheduler often tries to create new instances even of there is a
instance is idle, and even if I set the "Max Idle Instances" to 1.
If the scheduler doesn't try to create new instance and use the idle
instance to handle the just incoming request, then there is no slow
loading problems.
But in fact, the scheduler gilds the lily.
And about the problem mentioned in this thread, I don't think the
documented way is good. So I made a suggestion.
>
> Currently if you are an always on customer
> In the application settings you have two sliders, min idle instances and max
> idle instances.
> Min idle instances sets the minimum number of idle instances that will
> always be present.
> Once the new billing is in place, you will get a min idle instances slider.
>
> > In the issue I filed, I suggest the scheduler should prepare a new
> > instance before shutdown the old idle instance. This way, there will
> > always an idle instance for coming requests.
>
> > This isn't an issue. I really think you need to reread all of the current
>
> documentation and discussions in this area, as you
> are definately misunderstanding the intent of max idle instances.
Yes, I read them all.
>
> Also you need to do something about your 10sec startup time or pay for idle
> instances ("always on" at the moment)
I don't want to change the struts2 framework. Other frameworks may be
load faster, but there will be other losses.
And I don't want to pay for my small website traffic.
>
> Tim
>
>
>
>
>
>
>
>
>
> > > -- Alexander