Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-24 Thread Vanson Lim
Reply inline. search for ##VL: On 3/24/15, 9:08 PM, Imesh Gunaratne wrote: Hi Vanson, Please see my comments inline: On Wed, Mar 25, 2015 at 2:06 AM, Vanson Lim mailto:v...@cisco.com>> wrote: Reka/devs, I am still a little bit confused about Group level and Cartridge level deploym

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-24 Thread Imesh Gunaratne
Hi Vanson, Please see my comments inline: On Wed, Mar 25, 2015 at 2:06 AM, Vanson Lim wrote: > Reka/devs, > > I am still a little bit confused about Group level and Cartridge level > deployment policies and looking forward to seeing some more documentation > on this. > > If we are defining a g

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-20 Thread Reka Thirunavukkarasu
reached, and > then documentation can follow. > > > > *From:* Reka Thirunavukkarasu [mailto:r...@wso2.com] > *Sent:* Thursday, March 19, 2015 6:31 AM > *To:* Shaheedur Haque (shahhaqu) > *Cc:* dev; Mariangela Hills > > *Subject:* Re: [Discuss] Cartridge definition doesn&#x

RE: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-20 Thread Shaheedur Haque (shahhaqu)
: dev; Mariangela Hills Subject: Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore Hi Shaheed, Please find my comments inline. Unfortunately i think that we don't currently have the documentation covering all the scenarios it seems..Will wo

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-18 Thread Reka Thirunavukkarasu
> > On Fri, Mar 13, 2015 at 9:31 PM, Shaheedur Haque (shahhaqu) < > shahh...@cisco.com> wrote: > > After discussing a bit with Imesh, we identified 3 points that need > clarifying: > > > > · If there is to be a cartridgeMin attribute, it should at least

RE: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-18 Thread Shaheedur Haque (shahhaqu)
Hi Reka, Thanks for the detailed explanation. See below… From: Reka Thirunavukkarasu [mailto:r...@wso2.com] Sent: Wednesday, March 18, 2015 5:08 AM To: dev Cc: Shaheedur Haque (shahhaqu) Subject: Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anym

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-17 Thread Reka Thirunavukkarasu
>>>>> application to 5 instances of PHP, why would I not simply set the >>>>> partitionMax to 2,3 or 3,2 in the two partitions? >>>>> >>>>> >>>>> >>>>> Similarly, I have yet to see any convincing response as t

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-17 Thread Imesh Gunaratne
ponse as to why >>>> cartridgeMin is really required. >>>> >>>> >>>> >>>> The subtle shift in behavior being claimed in these cases seems >>>> confusing at best, and simply broken at worst. I claim broken because there >>>>

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-17 Thread Lahiru Sandaruwan
>> written for next developer preview at [1]. This sample is an end to end >>> sample with single cartridge application and Mock IaaS. See the step 5 for >>> *partitionMax >>> *usage. >>> >>> >>> >>> Thanks. >>> >

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-17 Thread Rajkumar Rajaratnam
mply broken at worst. I claim broken because there are no >> clear rules as to how all 4 values relate, and no clear use-case to have >> all 4. In short, I have no idea how or why I should set them. >> >> >> >> Please clarify or remove. >> >> >>

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-17 Thread Lakmal Warusawithana
eed > > > > > > *From:* Lahiru Sandaruwan [mailto:lahi...@wso2.com] > *Sent:* Tuesday, March 17, 2015 3:43 AM > > *To:* dev > *Subject:* Re: [Discuss] Cartridge definition doesn't need > "maxInstanceLimit" property anymore > > > > Hi

RE: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-17 Thread Shaheedur Haque (shahhaqu)
, 2015 3:43 AM To: dev Subject: Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore Hi Shaheed, We can define the maximum number of instances that can be spawned per partition in deployment policy. You can find a simple sample which is written for

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-16 Thread Lahiru Sandaruwan
tion max? Where is it specified? > > > > Thanks, Shaheed > > > > *From:* Lahiru Sandaruwan [mailto:lahi...@wso2.com] > *Sent:* Saturday, March 14, 2015 2:31 AM > > *To:* dev > *Subject:* Re: [Discuss] Cartridge definition doesn't need > "maxInstanceLimit&quo

RE: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-16 Thread Shaheedur Haque (shahhaqu)
Hi Lahiru, What do you mean by partition max? Where is it specified? Thanks, Shaheed From: Lahiru Sandaruwan [mailto:lahi...@wso2.com] Sent: Saturday, March 14, 2015 2:31 AM To: dev Subject: Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymor

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-13 Thread Lahiru Sandaruwan
policy values. > > ·What is cartridgeMax used for? > > > > Thanks, Shaheed > > > > *From:* Reka Thirunavukkarasu [mailto:r...@wso2.com ] > *Sent:* 13 March 2015 02:54 > *To:* dev > *Subject:* Re: [Discuss] Cartridge definition doesn't need >

RE: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-13 Thread Shaheedur Haque (shahhaqu)
@stratos.apache.org Subject: RE: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore Hi Reka, First, I strongly suggest we not use internal terms like “cluster”, since they are not part of the user visible model, to explain user visible behaviour. F

RE: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-13 Thread Shaheedur Haque (shahhaqu)
simple and use the deployment policy values. ·What is cartridgeMax used for? Thanks, Shaheed From: Reka Thirunavukkarasu [mailto:r...@wso2.com] Sent: 13 March 2015 02:54 To: dev Subject: Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore Hi S

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-12 Thread Reka Thirunavukkarasu
cartridgeMin and > cartridgeMax. Why do we need cartridgeMin and cartridgeMax at this point in > the system? > > > > *From:* Reka Thirunavukkarasu [mailto:r...@wso2.com] > *Sent:* 12 March 2015 17:09 > *To:* dev > *Subject:* Re: [Discuss] Cartridge definition doesn&

RE: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-12 Thread Shaheedur Haque (shahhaqu)
2015 17:09 To: dev Subject: Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore Hi Raj, On Thu, Mar 12, 2015 at 10:01 AM, Rajkumar Rajaratnam mailto:rajkum...@wso2.com>> wrote: On Thu, Mar 12, 2015 at 10:24 PM, Reka Thirunavukkarasu mailto:

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-12 Thread Reka Thirunavukkarasu
Hi Raj, On Thu, Mar 12, 2015 at 10:01 AM, Rajkumar Rajaratnam wrote: > > > On Thu, Mar 12, 2015 at 10:24 PM, Reka Thirunavukkarasu > wrote: > >> Hi Lahiru/Raj, >> >> I think that we have introduced this *cartridgeMin/**cartridgeMax *when >> introducing the deployment policy for cartridge and gr

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-12 Thread Rajkumar Rajaratnam
On Thu, Mar 12, 2015 at 10:24 PM, Reka Thirunavukkarasu wrote: > Hi Lahiru/Raj, > > I think that we have introduced this *cartridgeMin/**cartridgeMax *when > introducing the deployment policy for cartridge and groups as global > deployment policy. Since we have the same concept now, i would like

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-12 Thread Reka Thirunavukkarasu
Hi Lahiru/Raj, I think that we have introduced this *cartridgeMin/**cartridgeMax *when introducing the deployment policy for cartridge and groups as global deployment policy. Since we have the same concept now, i would like to review the implementation and confirm whether it is required or not. Ca

Re: [Discuss] Cartridge definition doesn't need "maxInstanceLimit" property anymore

2015-03-12 Thread Lahiru Sandaruwan
Noticed today. It was misleading as we have this left in samples. I will clean this up. Thanks. On Thu, Mar 12, 2015 at 10:04 PM, Rajkumar Rajaratnam wrote: > Hi Devs, > > We are defining cartridge min max count in application definition. > > { > "applicationId": "single-cartridge-app", >