Hi Deepak, It is not possible to set max-idle-instances to 0. If you had set max-idle-instances to 1, then your example is basically identical to Dani's.
On Tue, Sep 6, 2011 at 11:31 AM, Deepak Singh <deepaksingh...@gmail.com> wrote: > Suppose, i have set my max-idle-instance to 0. And i have written a cron job > which actually does nothing. It just call the servlet method and finishes. > Thus it is able to create a new instance. I run this cron job every minute. > In this case i get almost always one instance live and iahe set to > max-idle-instance to 0. > So, how does it affect the billing where i set max-idle-instance to 1. > Thanks > Deepak > > On Tue, Sep 6, 2011 at 10:59 PM, Dani Shaulov <danish1...@gmail.com> wrote: >> >> Thank you Jon. >> It makes much more sense now. >> Another question: >> If an instance starts - active for 1 seconds >> Then idle for 5 and again active for 1 second >> And again 1 second active every 5 minuets of idle >> (basically 1 request (which takes 1 second) every 5 minuets) >> So it is a total of 288 active seconds a day. >> Is that charged as 15 min start up fee + 288 seconds, >> or as 24 hours of instance time? >> In my understanding, in the old model it's the former and in the new model >> it's the latter. >> Is that right? >> >> -- >> 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/-/lPvp44U3uLgJ. >> To post to this group, send email to google-appengine@googlegroups.com. >> To unsubscribe from this group, send email to >> google-appengine+unsubscr...@googlegroups.com. >> 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 google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > 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 google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.