Maybe it's a request to have a min-idle-instance setting added? because that doesn't exist yet...
On Tue, Sep 6, 2011 at 8:17 PM, Jon McAlister <jon...@google.com> wrote: > I'm sorry Deepak, but I just don't understand your question. Perhaps > someone else understands the point he is trying to raise, and can help > him out? > > On Tue, Sep 6, 2011 at 12:03 PM, Deepak Singh <deepaksingh...@gmail.com> > wrote: >> My question is the difference between, >> set min-idle-instance to 0 and run a cron job every min or every 15 min to >> ensure that at least one instance is available. >> And i have set max-idle-instance to either 1 or Automatic. >> The App may have or may not have traffic. >> Thanks >> >> On Wed, Sep 7, 2011 at 12:12 AM, Jon McAlister <jon...@google.com> wrote: >>> >>> I probably don't understand your example perfectly. I think you are >>> saying that the app only runs a cron job request once a minute, that >>> request does nothing, and the app has absolutely no other traffic. >>> >>> In that example, if max-idle-instances=1, then the billable instance >>> hours would be 24. If max-idle-instances=automatic, then the billable >>> instance hours would be 24. >>> >>> On Tue, Sep 6, 2011 at 11:38 AM, Deepak Singh <deepaksingh...@gmail.com> >>> wrote: >>> > Hi Jon, >>> > In case i have min-idle-instance = 0 >>> > Max-idle-instance = 1 Or Automatic >>> > and i run the cron job as stated earlier. Then how does it affect the >>> > bill >>> > as cron job does not do anything means does not use any resources. >>> > Thanks >>> > >>> > On Wed, Sep 7, 2011 at 12:03 AM, Jon McAlister <jon...@google.com> >>> > wrote: >>> >> >>> >> 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. >>> >> >>> > >>> > -- >>> > 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. >>> >> >> -- >> 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. > > -- 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.