Re: [Dev] Has caching & throttling been tested with multi-tenancy?

2013-07-12 Thread Amila Suriarachchi
On Fri, Jul 12, 2013 at 12:27 PM, Supun Malinga  wrote:

> Hi,
>
> AFAIR, caching/throttling worked.
> One issue we have is that where there are several nodes in the cluster,
> throttling request count is not shared between the nodes..
>

you need to switch on the state replication for this. I am not sure whether
this has set in stratos live.

thanks,
Amila.

>
> thanks,
>
>
> On Fri, Jul 12, 2013 at 11:27 AM, Charitha Kankanamge 
> wrote:
>
>> Works in SLive. You can try with
>> http://appserver.stratoslive.wso2.com/services/t/superqa.com/Axis2Service?wsdl
>> Currently throttling is not distributed in cluster and it applies per
>> node. Hence, your quota will be exceeded once you send 10 requests to the
>> service.
>>
>>
>> On Fri, Jul 12, 2013 at 11:16 AM, Charitha Kankanamge 
>> wrote:
>>
>>> This cannot be true. Isuru S has closed
>>> https://wso2.org/jira/browse/STRATOS-686 saying that he cannot
>>> reproduce and mentioned that access throttling worked in AS MT mode. So, it
>>> may have been broken in later release. Let me check in SLive now.
>>>
>>> /Charitha
>>>
>>>
>>> On Fri, Jul 12, 2013 at 11:09 AM, Afkham Azeez  wrote:
>>>
 But the throttling & caching code doesn't look like it supports MT


 On Fri, Jul 12, 2013 at 11:00 AM, Charitha Kankanamge <
 chari...@wso2.com> wrote:

> IIRC, the happy paths of throttling have been tested in C4 release
> (August 2012). However, a complete functional test has not been done.
>
>
> On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez  wrote:
>
>> $subject
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * **
>> email: **az...@wso2.com* * cell: +94 77 3320919
>> blog: **http://blog.afkham.org* *
>> twitter: 
>> **http://twitter.com/afkham_azeez*
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>
>


 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * **
 email: **az...@wso2.com* * cell: +94 77 3320919
 blog: **http://blog.afkham.org* *
 twitter: 
 **http://twitter.com/afkham_azeez*
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com 
> mobile - 071 56 91 321
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Amila Suriarachchi*

Software Architect
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 71 3082805
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Has caching & throttling been tested with multi-tenancy?

2013-07-12 Thread Amila Suriarachchi
Lets say you have two tenants. and your maximum count is 10. Now if you
send 5 to one tenant can you send 10 to the second tenant?

thanks,
Amila.


On Fri, Jul 12, 2013 at 11:27 AM, Charitha Kankanamge wrote:

> Works in SLive. You can try with
> http://appserver.stratoslive.wso2.com/services/t/superqa.com/Axis2Service?wsdl
> Currently throttling is not distributed in cluster and it applies per
> node. Hence, your quota will be exceeded once you send 10 requests to the
> service.
>
>
> On Fri, Jul 12, 2013 at 11:16 AM, Charitha Kankanamge 
> wrote:
>
>> This cannot be true. Isuru S has closed
>> https://wso2.org/jira/browse/STRATOS-686 saying that he cannot reproduce
>> and mentioned that access throttling worked in AS MT mode. So, it may have
>> been broken in later release. Let me check in SLive now.
>>
>> /Charitha
>>
>>
>> On Fri, Jul 12, 2013 at 11:09 AM, Afkham Azeez  wrote:
>>
>>> But the throttling & caching code doesn't look like it supports MT
>>>
>>>
>>> On Fri, Jul 12, 2013 at 11:00 AM, Charitha Kankanamge >> > wrote:
>>>
 IIRC, the happy paths of throttling have been tested in C4 release
 (August 2012). However, a complete functional test has not been done.


 On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez  wrote:

> $subject
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: 
> **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>


>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * **
>>> email: **az...@wso2.com* * cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* *
>>> twitter: **http://twitter.com/afkham_azeez*
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Amila Suriarachchi*

Software Architect
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 71 3082805
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Has caching & throttling been tested with multi-tenancy?

2013-07-12 Thread Supun Malinga
Hi,

AFAIR, caching/throttling worked.
One issue we have is that where there are several nodes in the cluster,
throttling request count is not shared between the nodes..

thanks,


On Fri, Jul 12, 2013 at 11:27 AM, Charitha Kankanamge wrote:

> Works in SLive. You can try with
> http://appserver.stratoslive.wso2.com/services/t/superqa.com/Axis2Service?wsdl
> Currently throttling is not distributed in cluster and it applies per
> node. Hence, your quota will be exceeded once you send 10 requests to the
> service.
>
>
> On Fri, Jul 12, 2013 at 11:16 AM, Charitha Kankanamge 
> wrote:
>
>> This cannot be true. Isuru S has closed
>> https://wso2.org/jira/browse/STRATOS-686 saying that he cannot reproduce
>> and mentioned that access throttling worked in AS MT mode. So, it may have
>> been broken in later release. Let me check in SLive now.
>>
>> /Charitha
>>
>>
>> On Fri, Jul 12, 2013 at 11:09 AM, Afkham Azeez  wrote:
>>
>>> But the throttling & caching code doesn't look like it supports MT
>>>
>>>
>>> On Fri, Jul 12, 2013 at 11:00 AM, Charitha Kankanamge >> > wrote:
>>>
 IIRC, the happy paths of throttling have been tested in C4 release
 (August 2012). However, a complete functional test has not been done.


 On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez  wrote:

> $subject
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: 
> **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>


>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * **
>>> email: **az...@wso2.com* * cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* *
>>> twitter: **http://twitter.com/afkham_azeez*
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com 
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Has caching & throttling been tested with multi-tenancy?

2013-07-11 Thread Charitha Kankanamge
Works in SLive. You can try with
http://appserver.stratoslive.wso2.com/services/t/superqa.com/Axis2Service?wsdl
Currently throttling is not distributed in cluster and it applies per node.
Hence, your quota will be exceeded once you send 10 requests to the
service.


On Fri, Jul 12, 2013 at 11:16 AM, Charitha Kankanamge wrote:

> This cannot be true. Isuru S has closed
> https://wso2.org/jira/browse/STRATOS-686 saying that he cannot reproduce
> and mentioned that access throttling worked in AS MT mode. So, it may have
> been broken in later release. Let me check in SLive now.
>
> /Charitha
>
>
> On Fri, Jul 12, 2013 at 11:09 AM, Afkham Azeez  wrote:
>
>> But the throttling & caching code doesn't look like it supports MT
>>
>>
>> On Fri, Jul 12, 2013 at 11:00 AM, Charitha Kankanamge 
>> wrote:
>>
>>> IIRC, the happy paths of throttling have been tested in C4 release
>>> (August 2012). However, a complete functional test has not been done.
>>>
>>>
>>> On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez  wrote:
>>>
 $subject

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * **
 email: **az...@wso2.com* * cell: +94 77 3320919
 blog: **http://blog.afkham.org* *
 twitter: 
 **http://twitter.com/afkham_azeez*
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * **
>> email: **az...@wso2.com* * cell: +94 77 3320919
>> blog: **http://blog.afkham.org* *
>> twitter: **http://twitter.com/afkham_azeez*
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Has caching & throttling been tested with multi-tenancy?

2013-07-11 Thread Charitha Kankanamge
This cannot be true. Isuru S has closed
https://wso2.org/jira/browse/STRATOS-686 saying that he cannot reproduce
and mentioned that access throttling worked in AS MT mode. So, it may have
been broken in later release. Let me check in SLive now.

/Charitha


On Fri, Jul 12, 2013 at 11:09 AM, Afkham Azeez  wrote:

> But the throttling & caching code doesn't look like it supports MT
>
>
> On Fri, Jul 12, 2013 at 11:00 AM, Charitha Kankanamge 
> wrote:
>
>> IIRC, the happy paths of throttling have been tested in C4 release
>> (August 2012). However, a complete functional test has not been done.
>>
>>
>> On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez  wrote:
>>
>>> $subject
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * **
>>> email: **az...@wso2.com* * cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* *
>>> twitter: **http://twitter.com/afkham_azeez*
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Has caching & throttling been tested with multi-tenancy?

2013-07-11 Thread Afkham Azeez
But the throttling & caching code doesn't look like it supports MT


On Fri, Jul 12, 2013 at 11:00 AM, Charitha Kankanamge wrote:

> IIRC, the happy paths of throttling have been tested in C4 release (August
> 2012). However, a complete functional test has not been done.
>
>
> On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez  wrote:
>
>> $subject
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * **
>> email: **az...@wso2.com* * cell: +94 77 3320919
>> blog: **http://blog.afkham.org* *
>> twitter: **http://twitter.com/afkham_azeez*
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Has caching & throttling been tested with multi-tenancy?

2013-07-11 Thread Charitha Kankanamge
IIRC, the happy paths of throttling have been tested in C4 release (August
2012). However, a complete functional test has not been done.


On Thu, Jul 11, 2013 at 12:56 PM, Afkham Azeez  wrote:

> $subject
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * **
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev