Hi Reka,

Yes, I'm done. Sorry for the late reply.
Following table explains it.


 Spawn invoked from AS

Adding a pending member

Member Activated event(from CC)

Pending -> Active

Graceful shutdown event sent from AS

Active -> Termination pending

Member Terminated event(from CC)

Removing the termination pending member

Member fault event(from CEP)

Active Member -> Obsolete member

I'm not sure if we can use ready shutdown state here. What autoscaler need
to know is whether the member needs to be considered as a Active serving
member or it is on the way to shut down(or already shut down).


Thanks.


On Wed, Jan 15, 2014 at 1:59 PM, Reka Thirunavukkarasu <[email protected]>wrote:

> Hi Lahiru,
>
> Have you done with the changes on this improvement? If so, Can you explain
> that how have you done with it?
> Else, I believe that we can use the already existing ReadyToShutDown state
> to improve the instance termination in autoscaler?
>
> Thanks,
> Reka
>
>
> On Tue, Jan 14, 2014 at 12:07 AM, Lahiru Sandaruwan <[email protected]>wrote:
>
>> HI Reka,
>>
>> I think we have to do a improvement in autosclaer side since this will
>> take some time to terminate. May be introducing "pending terminate".
>>
>> Otherwise scaling down rule wont stop scaling down properly...
>>
>> Thanks.
>>
>>
>> On Fri, Jan 10, 2014 at 10:40 AM, Reka Thirunavukkarasu <[email protected]>wrote:
>>
>>> Hi Udara,
>>>
>>> +1. It is a good point. I will consider introducing a timeout in
>>> Autoscaler to decide on the actual termination after making the call to SM.
>>>
>>> Thanks,
>>> Reka
>>>
>>>
>>> On Fri, Jan 10, 2014 at 8:26 AM, Udara Liyanage <[email protected]> wrote:
>>>
>>>> Let's say Instance cleanup hang due to some reason(a file could not be
>>>> deleted). Then instance won't send the readyToTerminate message. So isn't
>>>> it better instance is terminated by force after timeout when the graceful
>>>> shutdown is issued.
>>>>
>>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>>
>>>
>>>
>>>
>>> --
>>> Reka Thirunavukkarasu
>>> Software Engineer,
>>> WSO2, Inc.:http://wso2.com,
>>> Mobile: +94776442007
>>>
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: [email protected] cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Reka Thirunavukkarasu
> Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: [email protected] cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Reply via email to