- New instance is created
- the request is served by the new instance
What is the purpose of Resident instance?
The resident is there to absorb spikes in traffic, not to handle standard traffic operations. In an ideal world, what should be happening is that you start out with resident instances. Traffic comes in, then the scheduler kicks up a dynamic instance while simultaneously directing some traffic to resident instances to process. Once the dynamics are up, then the requests go to the dynamic instances while residents return to idle. It doesn't always work that way, but that's the general idea.
Can you tell where is this documented?
The view logs link in the instances screen does not show logs or is broken. Hence, you cannot find out which instance served the traffic.
Whey should the resident instance be idle, and the traffic served by dynamic instance, with resident instance being idle.What is the use of the pending latency setting in the Application Settings.
A week or two from now, without warning, this scheduler behavior will change. Weeks later it will change again, and on it goes.
I think what people are looking for is: What combination of settings
will prevent users from seeing cold starts, or at least decrease the
probability down to 4 or 5 sigma? There doesn't appear to be an
answer, not even "run ten thousand resident instances".
I roll with the punches using a script that fetches dynamic pages to induce a large uniform load.
Speaking of large uniform loads, I gotta go shovel out the unicorn pens.
David