On Wed, Sep 7, 2011 at 7:20 AM, Tammo Freese <[email protected]> wrote:
> Hi Jon,
>
>
> On Sep 6, 6:49 pm, Jon McAlister <[email protected]> wrote:
>> } there is a startup fee of 15 minutes for each instance.
>>
>> This only affects the computation of the total-instances variable
>> in the formula, it does not affect the computation of
>> active-instances.
>
> so total-instances is the maximum of active-instances over the last 15
> minutes?

Not really, no.

>
>
>> } Is it guaranteed that instances die after being idle for 15 minutes?
>>
>> They will usually die before 15 minutes [see other response], but
>> it is possible they may live past 15 minutes of idleness. But
>> past 15 minutes of idleness, they are completely ignored by the
>> billing system.
>
> Let's say I have 4 active instances for 5 minutes, then no traffic for
> the rest of the day, max-idle-instances set to 1.
> 1) 35 minutes will be billed regardless when the scheduler decides to
> kill idle instances, right?

Yes.

> 2) But 1 instance would be idle for at least 15 minutes, right?

Maybe.

>
>> The max-idle-instances setting has two effects. The first is a
>> hint to the scheduler to kill off excess idle instances [it does
>> this now, but approximately], and the second is how it is used in
>> the billing formula.
>
> Let's say I have 4 active instances for 5 minutes, then no traffic for
> the rest of the day, max-idle-instances set to 4.
> 1) 80 minutes will be billed regardless when the scheduler decides to
> kill idle instances, right?

Yes.

> 2) But 4 instances would be idle for at least 15 minutes, right?

Maybe.

>
>
> Take care and thanks for your help,
>
> Tammo
>
> --
> 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.

Reply via email to