On Thu, Jan 16, 2014 at 8:40 AM, Nirmal Fernando <[email protected]>wrote:

> I thought we already had that option when network partition was called as
> 'partitionGroup'.
>

Min and max for partition group is not used anywhere, hence not added. I
think here is an use case.

>
>
> On Thu, Jan 16, 2014 at 8:36 AM, Lahiru Sandaruwan <[email protected]>wrote:
>
>>
>>
>>
>> On Thu, Jan 16, 2014 at 8:23 AM, Nirmal Fernando 
>> <[email protected]>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 <[email protected]>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: [email protected] 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: [email protected] 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: [email protected] 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

Reply via email to