stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lahiru Sandaruwan <lahi...@wso2.com>
Subject Re: Is it correct to use same deployment policy for LB cluster as well?
Date Thu, 16 Jan 2014 03:06:10 GMT
On Thu, Jan 16, 2014 at 8:23 AM, Nirmal Fernando <nirmal070125@gmail.com>wrote:

> Well, the problem is LB creation is not static, but it is dynamic and
> network partition based. So, you cannot have a deployment policy by default
> for a LB Cartridge.
>
>

However, we could improve this by getting minimum and maximum instance
> counts from LB Cartridge.
>
> Yes. This is because currently the deployment policy limits are based on
partition.  We can use min and max for network partition by adding up
partition mins and maxes. This is kind of workaround.

May be we can define min and max for network partition as well.

Wdyt?

>
> On Thu, Jan 16, 2014 at 7:58 AM, Lahiru Sandaruwan <lahirus@wso2.com>wrote:
>
>> Hi all,
>>
>> $subject?
>>
>> Currently, if we have 2 as the minimum of a deployment policy, then we
>> use it at a subscription(say PHP), it will spawn 2 instances since the same
>> deployment policy is used for LB cluster as well.
>>
>> So the LB cluster, which is common to all the subscriptions that are in
>> one network partition, and use "default load balencer" option become
>> dependent on first subscription.
>>
>> I think we can improve here. We can have a default deployment policy for
>> LB cartridges, which will be used when running minimum rule for that
>> subscription, and it will not depend on first subscription...
>>
>> WDYT?
>>
>> Thanks.
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Mime
View raw message