Hi Tuna, I have published two blogs about autoscaling of 4.0.0 version.
[1] http://lahiruwrites.blogspot.com/2014/09/autoscaling-in-apache-stratos-part-ii.html [2] http://lahiruwrites.blogspot.com/2014/09/autoscaling-in-apache-stratos-part-i.html Find the some answers inline, On Sun, Dec 28, 2014 at 8:58 PM, Nguyen Anh Tu <[email protected]> wrote: > Dear guys, > > Could anyone share detail of the current deployment of autoscaling > feature? I found some documents on cwiki but they are too general. > > Some questions: > - what are "gradient" & "second derivative"? > - when scaling down, do we terminate instances immediately? > We wait for a count as Manula mentioned and that value is in the drools file, which can be changes similar to a config. - what is difference between autoscale policy and deployment policy? > Autoscaling policy holds the threshold values for memory consumption, load average, and requests in flight in 4.1.0. Details about 4.0.0 are explained in the blog posts i've mentioned early. Deployment policy has a huge role in upcoming version(4.1.0). Lakmal's blog on that would help you. [1] http://lakmalsview.blogspot.com/2014/12/upcoming-composite-application-support.html - do we have "scheduler time" for autoscaling? > You can configure the period which Stratos run the cluster monitor in autoscaler.xml. That is the period which it runs the Autoscaling rules. <rulesEvaluator> <schedule> <initialDelay>30</initialDelay> <period>15</period> </schedule> </rulesEvaluator> Thanks. > > Thanks for help, > --Tuna > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: [email protected] blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
