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 <[email protected]> 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 <[email protected]> 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 <[email protected]> >> 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 <[email protected]> >> > 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 [email protected]. >> >> To unsubscribe from this group, send email to >> >> [email protected]. >> >> 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 [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > 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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
