Hi Devs, Thanks Gayan & Raj for the feedback!
I have now implemented statistics reading/publishing logic in Nginx load balancer extension. The Nginx module HttpStubStatusModule [1] is needed for this purpose. The default distribution does not include it, we need to recompile Nginx with --with-http_stub_status_module option to enable this [2]. [1] http://wiki.nginx.org/HttpStubStatusModule [2] https://github.com/apache/stratos/tree/master/extensions/load-balancer/nginx-extension Thanks On Fri, May 8, 2015 at 6:54 PM, Rajkumar Rajaratnam <rajkum...@wso2.com> wrote: > Excellent work Imesh! It would be good to include in 4.1.0. > > Thanks. > > On Fri, May 8, 2015 at 6:49 PM, Gayan Gunarathne <gay...@wso2.com> wrote: > >> Great stuff Imesh. >> >> IMO this will be great addition to the 4.1.0 release. Then we can release >> 4.1.0 with both haproxy and Nginx extension support. >> +1 to include this in 4.1.0 release. >> >> Thanks, >> Gayan >> >> On Fri, May 8, 2015 at 6:39 PM, Imesh Gunaratne <im...@apache.org> wrote: >> >>> Hi Devs, >>> >>> I did some experiments with $subject some time back but I couldn't >>> commit it. I have now added it to the master branch: >>> >>> >>> https://github.com/apache/stratos/tree/master/extensions/load-balancer/nginx-extension >>> >>> Please share your thoughts on this, if everyone agrees we could include >>> this in 4.1.0 release. >>> >>> Thanks >>> >>> -- >>> Imesh Gunaratne >>> >>> Senior Technical Lead, WSO2 >>> Committer & PMC Member, Apache Stratos >>> >> >> >> >> -- >> >> Gayan Gunarathne >> Technical Lead >> WSO2 Inc. (http://wso2.com) >> email : gay...@wso2.com | mobile : +94 766819985 >> >> > > > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos