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.

-- 
*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*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to