stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajkumar Rajaratnam <rajkum...@wso2.com>
Subject Re: Support turning off auto-scaling feature
Date Wed, 05 Nov 2014 07:45:39 GMT
Advantage of option 3 is that we can achieve the desired state
(enabled/disabled) in one step process. Say you are starting stratos, you
can set it to enable/disable and start it.

Whereas in option 1, If we supporting it at API level, we should start the
stratos and then call the API to achieve the desired state. Because default
value is true.

Still option 1 is having the advantage, that is no need to restart stratos.

We should support either option 1 or 3.

Or both (we can resolve conflicts by giving more priority to API)?

Thanks.

On Wed, Nov 5, 2014 at 12:52 PM, Udara Liyanage <udara@wso2.com> wrote:

> Hi Imesh,
>
> Say someone want to disable the auto scaling for some testing purpose,
> then he can do this by just disabling it in conf file keeping the AS policy
> values as it is for later use. He does not need knowledge in editing
> policies. At some point when he want it ti re enable, just change in conf
> and enable.
>
> On Wed, Nov 5, 2014 at 12:40 PM, Imesh Gunaratne <imesh@apache.org> wrote:
>
>> I think even now this is configurable via autoscaling policies (by
>> setting appropriate threashold values). IMO if we are introducing a new
>> configuration option to enable/disable autoscaling feature that should come
>> at service subscription level (application deployment).
>>
>> Thanks
>>
>> On Wed, Nov 5, 2014 at 11:26 AM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> Since we are supporting manual scaling now, how about $Subject?
>>>
>>> However, min-check will be executed periodically, but we should be able
>>> to disable scale check.
>>>
>>> I can see some other paas frameworks offer this feature. Basically it
>>> allows the user to decide how many instances he wants and manually scale up!
>>>
>>> It is just a matter of introducing an element
>>> (turnOffAutoscaling/disableAutoscaling) in autoscaler xml. And we can make
>>> it to true by default.
>>>
>>> wdyt?
>>>
>>> Thanks.
>>>
>>> --
>>> Raj
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Raj

Mime
View raw message