On 16 March 2014 00:59, PK <[email protected]> wrote: > My understanding is that you might see more than 2 but you will not be > charged for more than 2 with these settings. >
You wont be charged for more than 2 *idle* instances. But if the scheduler, spins up many instances, and they are serving traffic (however small) they are chargeable. min_idle_instances says appengine should always aim to keep this number of *deliberately* idle instances. So it will spin up enough to keep at least two idle at any time. (and because of the max_idle_instances, it shouldnt grow much *beyond* 2, and if it does wont be charged) (an idle instance, doesnt normally serve traffic, but in the case of a sudden spike, it should be able to serve a few, while new instances are being spun up. Once they are spun up, idle instances will go back to well, being idle) ... there simply isnt a max_instances, setting. > > PK > http://www.gae123.com > > On March 15, 2014 at 5:28:11 PM, Aron Gombas ([email protected]) > wrote: > > Hi! > > I have an important, low-traffic, internal app. There are typically 0-2 > concurrent users, the "peak" would be maybe 5-6. Plus, there are some cron > jobs and warmup requests that are also needs to be served, but I believe 1 > or 2 resident instances should be able to handle all traffic easily. > > As an experiment, what I want to completely eliminate is loading requests, > after those 2 instances have been started. This is Java app, and the 10-15s > additional response time caused by loading requests totally kills the > experience. So, I'm happy to pay for the idle time, but I'd like to be sure > that new instances are never started, and I pretty much bypass the > heuristics and auto-scaling of the Scheduler. > > Is this possible at all? > > These are my current settings: > > min_idle_instances: 2 > max_idle_instances: 2 > min_pending_latency: 10ms > max_pending_latency: 15.0s > > With these, when I look at the instances I can see 2 resident plus 2 > dynamic instances, although I'm the only user currently using the app. > (There are short cron jobs and occasional warmup requests.) > > Cheers, > > Aron > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
