You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Imesh Gunaratne <im...@apache.org> on 2013/11/21 07:43:42 UTC

[New Functionality] Dedicated Load Balancing for Services is READY

Hi All,

We have now implemented support for Dedicated Load Balancing for Services
and it will be included in Apache Stratos 4.0.0-M3. The advantage of using
this functionality would be that for a given Stratos deployment we could
host multiple load balancers for different sets of services.

*Configuration Needed:*
Configure System
Property: -Dstratos.messaging.topology.service.filter="<comma-separated-service-names>"


*Sample Scenario:*
*Load Balancer L1 (Stratos LB):*
Services Managed: AppServer, ESB
Configure System
Property: -Dstratos.messaging.topology.service.filter="AppServer,ESB"

*Load Balancer L2 (HAProxy): *
Services Managed: MySQL
Configure System
Property: -Dstratos.messaging.topology.service.filter="MySQL"


Many Thanks
Imesh

Re: [New Functionality] Dedicated Load Balancing for Services is READY

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
+1. Nice implementation. Would be very helpful when we are using multiple
Load balancers with Apache stratos 4.0.0.

Will it be good to consider further filtering on this like cluster or
subscription aware load balancers which would be useful when we introduce
LB as a cartridge where one can choose a LB per subscription.

Thanks,
Reka


On Wed, Nov 20, 2013 at 11:43 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi All,
>
> We have now implemented support for Dedicated Load Balancing for Services
> and it will be included in Apache Stratos 4.0.0-M3. The advantage of using
> this functionality would be that for a given Stratos deployment we could
> host multiple load balancers for different sets of services.
>
> *Configuration Needed:*
> Configure System
> Property: -Dstratos.messaging.topology.service.filter="<comma-separated-service-names>"
>
>
> *Sample Scenario:*
> *Load Balancer L1 (Stratos LB):*
> Services Managed: AppServer, ESB
> Configure System
> Property: -Dstratos.messaging.topology.service.filter="AppServer,ESB"
>
> *Load Balancer L2 (HAProxy): *
> Services Managed: MySQL
> Configure System
> Property: -Dstratos.messaging.topology.service.filter="MySQL"
>
>
> Many Thanks
> Imesh
>
>
>


-- 
Reka Thirunavukkarasu
Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: [New Functionality] Dedicated Load Balancing for Services is READY

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks Isuru!

Yes our approach is to release small testable units in milestones. That's
why things like system properties are used in short term. When features get
implemented one by one the products will get more matured.

Thanks


On Sat, Nov 23, 2013 at 12:08 AM, Isuru Perera <is...@wso2.com> wrote:

> Hi,
>
>
> On Fri, Nov 22, 2013 at 10:34 AM, Imesh Gunaratne <im...@apache.org>wrote:
>
>> Thanks Reka! Yes subscription level filtering is in the pipeline. We will
>> be implementing it soon.
>>
>> @Isuru: Yes exactly, that's the plan. Once we introduce the load balancer
>> configuration file we will be moving all the system properties to it.
>>
> Good to hear that! It's also good to see that so many improvements in a
> very short period! :)
>
>>
>> Thanks
>>
>>
>> On Fri, Nov 22, 2013 at 10:18 PM, Isuru Perera <is...@wso2.com> wrote:
>>
>>> I think it would be good to configure the options via a configuration
>>> file inside repository/conf instead of having system properties.
>>>
>>>
>>> On Wed, Nov 20, 2013 at 10:43 PM, Imesh Gunaratne <im...@apache.org>wrote:
>>>
>>>> Hi All,
>>>>
>>>> We have now implemented support for Dedicated Load Balancing for
>>>> Services and it will be included in Apache Stratos 4.0.0-M3. The advantage
>>>> of using this functionality would be that for a given Stratos deployment we
>>>> could host multiple load balancers for different sets of services.
>>>>
>>>> *Configuration Needed:*
>>>> Configure System
>>>> Property: -Dstratos.messaging.topology.service.filter="<comma-separated-service-names>"
>>>>
>>>>
>>>> *Sample Scenario:*
>>>> *Load Balancer L1 (Stratos LB):*
>>>> Services Managed: AppServer, ESB
>>>> Configure System
>>>> Property: -Dstratos.messaging.topology.service.filter="AppServer,ESB"
>>>>
>>>> *Load Balancer L2 (HAProxy): *
>>>> Services Managed: MySQL
>>>> Configure System
>>>> Property: -Dstratos.messaging.topology.service.filter="MySQL"
>>>>
>>>>
>>>> Many Thanks
>>>> Imesh
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Isuru Perera
>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>>
>>
>>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>

Re: [New Functionality] Dedicated Load Balancing for Services is READY

Posted by Isuru Perera <is...@wso2.com>.
Hi,


On Fri, Nov 22, 2013 at 10:34 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Thanks Reka! Yes subscription level filtering is in the pipeline. We will
> be implementing it soon.
>
> @Isuru: Yes exactly, that's the plan. Once we introduce the load balancer
> configuration file we will be moving all the system properties to it.
>
Good to hear that! It's also good to see that so many improvements in a
very short period! :)

>
> Thanks
>
>
> On Fri, Nov 22, 2013 at 10:18 PM, Isuru Perera <is...@wso2.com> wrote:
>
>> I think it would be good to configure the options via a configuration
>> file inside repository/conf instead of having system properties.
>>
>>
>> On Wed, Nov 20, 2013 at 10:43 PM, Imesh Gunaratne <im...@apache.org>wrote:
>>
>>> Hi All,
>>>
>>> We have now implemented support for Dedicated Load Balancing for
>>> Services and it will be included in Apache Stratos 4.0.0-M3. The advantage
>>> of using this functionality would be that for a given Stratos deployment we
>>> could host multiple load balancers for different sets of services.
>>>
>>> *Configuration Needed:*
>>> Configure System
>>> Property: -Dstratos.messaging.topology.service.filter="<comma-separated-service-names>"
>>>
>>>
>>> *Sample Scenario:*
>>> *Load Balancer L1 (Stratos LB):*
>>> Services Managed: AppServer, ESB
>>> Configure System
>>> Property: -Dstratos.messaging.topology.service.filter="AppServer,ESB"
>>>
>>> *Load Balancer L2 (HAProxy): *
>>> Services Managed: MySQL
>>> Configure System
>>> Property: -Dstratos.messaging.topology.service.filter="MySQL"
>>>
>>>
>>> Many Thanks
>>> Imesh
>>>
>>>
>>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>>
>
>


-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha

Re: [New Functionality] Dedicated Load Balancing for Services is READY

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks Reka! Yes subscription level filtering is in the pipeline. We will
be implementing it soon.

@Isuru: Yes exactly, that's the plan. Once we introduce the load balancer
configuration file we will be moving all the system properties to it.

Thanks


On Fri, Nov 22, 2013 at 10:18 PM, Isuru Perera <is...@wso2.com> wrote:

> I think it would be good to configure the options via a configuration file
> inside repository/conf instead of having system properties.
>
>
> On Wed, Nov 20, 2013 at 10:43 PM, Imesh Gunaratne <im...@apache.org>wrote:
>
>> Hi All,
>>
>> We have now implemented support for Dedicated Load Balancing for Services
>> and it will be included in Apache Stratos 4.0.0-M3. The advantage of using
>> this functionality would be that for a given Stratos deployment we could
>> host multiple load balancers for different sets of services.
>>
>> *Configuration Needed:*
>> Configure System
>> Property: -Dstratos.messaging.topology.service.filter="<comma-separated-service-names>"
>>
>>
>> *Sample Scenario:*
>> *Load Balancer L1 (Stratos LB):*
>> Services Managed: AppServer, ESB
>> Configure System
>> Property: -Dstratos.messaging.topology.service.filter="AppServer,ESB"
>>
>> *Load Balancer L2 (HAProxy): *
>> Services Managed: MySQL
>> Configure System
>> Property: -Dstratos.messaging.topology.service.filter="MySQL"
>>
>>
>> Many Thanks
>> Imesh
>>
>>
>>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>

Re: [New Functionality] Dedicated Load Balancing for Services is READY

Posted by Isuru Perera <is...@wso2.com>.
I think it would be good to configure the options via a configuration file
inside repository/conf instead of having system properties.


On Wed, Nov 20, 2013 at 10:43 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi All,
>
> We have now implemented support for Dedicated Load Balancing for Services
> and it will be included in Apache Stratos 4.0.0-M3. The advantage of using
> this functionality would be that for a given Stratos deployment we could
> host multiple load balancers for different sets of services.
>
> *Configuration Needed:*
> Configure System
> Property: -Dstratos.messaging.topology.service.filter="<comma-separated-service-names>"
>
>
> *Sample Scenario:*
> *Load Balancer L1 (Stratos LB):*
> Services Managed: AppServer, ESB
> Configure System
> Property: -Dstratos.messaging.topology.service.filter="AppServer,ESB"
>
> *Load Balancer L2 (HAProxy): *
> Services Managed: MySQL
> Configure System
> Property: -Dstratos.messaging.topology.service.filter="MySQL"
>
>
> Many Thanks
> Imesh
>
>
>


-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha