+1 

On Oct 20, 2013, at 11:50 AM, Nirmal Fernando <[email protected]> wrote:

> 
> 
> 
> On Sun, Oct 20, 2013 at 11:51 PM, Sanjiva Weerawarana <[email protected]> 
> wrote:
> Awesome!
> 
> We'll have to be very careful about the memory usage of the stat collectors ..
> 
> +1. I'm already on it. So far it behaves nicely with load. 
> 
> <Screenshot from 2013-10-21 00:18:57.png> 
> I remember that in previous occasions those beasts ended up being trouble 
> makers.
> 
> Sanjiva.
> 
> 
> On Sun, Oct 20, 2013 at 11:46 PM, Nirmal Fernando <[email protected]> 
> wrote:
> Hi All,
> 
> I've successfully integrated Stratos LB and WSO2 CEP (selected CEP engine). 
> 
> Load balancer and CEP is communicating via Observer pattern, where a 
> statistics collector in LB acting as the subject and CEPs act as Observers. 
> Stats collector periodically notifies all the registered observers, so that 
> they can act upon changes. I'm committing the changes soon.
> 
> Now, when I load Stratos LB, CEP emits periodical aggregated statistics on 
> requests in flight at LB level, to a topic.
> 
> Following are few aggregated stats emitted by CEP:
> 
> {"average_requests_in_flight":{"cluster_id":"c1","value":"78.66666666666667"}}
> {"second_derivative_of_requests_in_flight":{"cluster_id":"c1","value":"0.17776829680194836"}}
> {"gradient_of_requests_in_flight":{"cluster_id":"c1","value":"0.0666637038353851"}}
> 
> {"second_derivative_of_requests_in_flight":{"cluster_id":"c1","value":"-0.004444888953094816"}}
> {"gradient_of_requests_in_flight":{"cluster_id":"c1","value":"0.04444246922359006"}}
> {"average_requests_in_flight":{"cluster_id":"c1","value":"9.5"}}
> 
> 
> 
> -- 
> Best Regards,
> Nirmal
> 
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
> 
> Blog: http://nirmalfdo.blogspot.com/
> 
> 
> 
> -- 
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
> email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1 
> 650 265 8311
> blog: http://sanjiva.weerawarana.org/
> 
> Lean . Enterprise . Middleware
> 
> 
> 
> -- 
> Best Regards,
> Nirmal
> 
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
> 
> Blog: http://nirmalfdo.blogspot.com/

Reply via email to