Hi Sanjiva, I had a question in my mind and I am not sure is this same. What I was thinking is how we can add auto scaling factors without any code change to the Startos. For a example if some one want to add some application (cartridge) specific (same as service specific) auto scaling how Stratos support it. In current model, auto scaling factors are hard coded to the auto scaler code.
What I was thinking is any one can define these factors (parameters) in the auto scaling policy at any time.(adding new auto scaling policy with them). Then, from CEP we can write CEP rules for the new parameters. In the auto scaler side we can refactor the code to get these new summarized parameter vales by looking at assign auto scaling policy. That means we can do service wise auto scaling. I am not sure why we need to change drools for that, since we have use only one load predicting algorithm (s=ut+1/2at2) and its unique for all service. And deciding where to spin/destroy also taking dynamically from deployment policy definition. AFAIU if we can give auto scaling parameters dynamically we can use service wise auto scaling. On Fri, Mar 14, 2014 at 9:43 AM, Sanjiva Weerawarana <[email protected]>wrote: > $subject .. is there a way to do these: > > - have one config file but test for the cluster the messages are coming > from/for and react different > - have different rulesets (for both CEP and Drools) that run for different > clusters > > Srinath, for CEP this maybe a partition scenario - some state may need to > be global but some per cluster. Still the question is whether we can > program the rules independently and make them manageble separately. > > I'm sure this is not clear :-) .. ask and I'll clarify. This came from a > discussion with Luca. > > Sanjiva. > -- > Sanjiva Weerawarana, Ph.D. > Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ > email: [email protected]; office: (+1 650 745 4499 | +94 11 214 5345) > x5700; cell: +94 77 787 6880 | +1 408 466 5099; voip: +1 650 265 8311 > blog: http://sanjiva.weerawarana.org/; twitter: @sanjiva > Lean . Enterprise . Middleware > -- Lakmal Warusawithana Software Architect; WSO2 Inc. Mobile : +94714289692 Blog : http://lakmalsview.blogspot.com/
