Hi,

inside commons, there are two throttle impls,

https://svn.wso2.org/repos/wso2/trunk/commons/throttle
https://svn.wso2.org/repos/wso2/trunk/commons/throttle2

what is the correct one ?

--Pradeep


On Thu, Jul 11, 2013 at 12:09 PM, Amila Suriarachchi <[email protected]> wrote:

>
>
>
> On Thu, Jul 11, 2013 at 12:00 PM, Afkham Azeez <[email protected]> wrote:
>
>>
>>
>>
>> On Thu, Jul 11, 2013 at 11:47 AM, Amila Suriarachchi <[email protected]>wrote:
>>
>>>
>>>
>>>
>>> On Thu, Jul 11, 2013 at 11:26 AM, Afkham Azeez <[email protected]> wrote:
>>>
>>>> Oops... we have a problem. Common code cannot take a dependency on
>>>> Carbon kernel
>>>>
>>>
>>> Can't we go ahead with the axis2 state replication model? I know it is
>>> not being used much but that would solve the problem.
>>>
>>>
>> I took a look at that, but it is a bit cumbersome to implement, since the
>>  new Hazelcast impl was written assuming common state will be handle using
>> caching. Anyway, I will take a look. The biggest problem I see is that,
>> response caching & throttling don't work with multi-tenancy
>>
>
> Then the option is to get Jcache API as a separate library. I looked at
> the code and there is a getCacheManagerFactory() method in
> javax.cache.Caching. We need to implement that method in the same way that
> javax.xml.stream.XMLInputFactory newInstance() method has implemented.
>
> In this way all the components should only make a dependacy to Jcache jar
> and that will enforce people to use only javax APIs.
>
> thanks,
> Amila.
>
>>
>>
>>> thanks,
>>> Amila.
>>>
>>>>
>>>>
>>>> On Thu, Jul 11, 2013 at 11:15 AM, Supun Malinga <[email protected]>wrote:
>>>>
>>>>>
>>>>> https://svn.wso2.org/repos/wso2/carbon/platform/trunk/dependencies/commons/throttle/3.3.0-wso2v2
>>>>>
>>>>> thanks,
>>>>>
>>>>>
>>>>> On Thu, Jul 11, 2013 at 11:10 AM, Afkham Azeez <[email protected]> wrote:
>>>>>
>>>>>> I need this to change it to use JCache
>>>>>>
>>>>>> --
>>>>>> *Afkham Azeez*
>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>>> * <http://www.apache.org/>**
>>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>>> twitter: 
>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>> *
>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>>> *
>>>>>> *
>>>>>> *Lean . Enterprise . Middleware*
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Supun Malinga,
>>>>>
>>>>> Senior Software Engineer,
>>>>> WSO2 Inc.
>>>>> http://wso2.com
>>>>> http://wso2.org
>>>>> email - [email protected] <[email protected]>
>>>>> mobile - 071 56 91 321
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>**
>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>> twitter: 
>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> *
>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>> *
>>>> *
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>
>>>
>>>
>>> --
>>> *Amila Suriarachchi*
>>>
>>> Software Architect
>>> WSO2 Inc. ; http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> phone : +94 71 3082805
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> *Amila Suriarachchi*
>
> Software Architect
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 71 3082805
>



-- 
*Pradeep Fernando*
Associate Technical Lead;WSO2 Inc.; http://wso2.com

blog: http://pradeepfernando.blogspot.com
m: +94776603662
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to