On Tue, Apr 24, 2012 at 9:31 PM, Nirmal Fernando <[email protected]> wrote:

> Hi,
>
> On Tue, Mar 20, 2012 at 5:36 PM, Sanjeewa Malalgoda <[email protected]>wrote:
>
>> +1 we will add this to new configuration file.
>> Thanks.
>>
>>
>> On Tue, Mar 20, 2012 at 2:29 PM, Nirmal Fernando <[email protected]> wrote:
>>
>>>
>>>
>>> On Tue, Mar 20, 2012 at 2:24 PM, Afkham Azeez <[email protected]> wrote:
>>>
>>>> Folks,
>>>> As of now, there is no way to disable autoscaling, except by deleting
>>>> the autoscaler.xml file and also removing the autoscaleIn & out mediators
>>>> from synapse. We need to be able to control this using the
>>>> new loadbalancer.conf file which has the nginx like syntax. The easiest way
>>>> to do this is by having an entry "enable_autoscaler true | false" in that
>>>> conf file, and use that to set a System property. The autoscaleIn/Out
>>>> mediators & autoscaler task can simply look at this property, and decide
>>>> whether to run or not.
>>>>
>>>
> I've created synapse autoscaler task programmatically ! Now it reads
> "enable_autoscaler" property of loadbalancer.conf and creates task only if
> it is true.
>
> I'll start work on creating mediators programmatically!!
>

Now autoscaleIn and autoscaleOut mediators generated programmatically,
hence setting "enable_autoscaler" property of loadbalancer.conf to "false"
disable autoscaling completely.


>
>
>>> +1
>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>**
>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>> twitter: 
>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> *
>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>> *
>>>> *
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Sanjeewa Malalgoda*
>> Software Engineer
>> **
>> *WSO2, Inc.*
>> lean.enterprise.middleware.
>>
>> mobile : +94 713068779
>> web: http://wso2.com
>>  <http://sanjeewamalalgoda.blogspot.com/>blog
>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>>
>> [image:
>> http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif]
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>



-- 

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to