[Carbon-dev] Performance issue in request processing
Senaka Fernando
senaka at wso2.com
Wed Mar 23 00:30:32 PDT 2011
On Wed, Mar 23, 2011 at 12:56 PM, Afkham Azeez <azeez at wso2.com> wrote:
> I looked at the previous 3.1.0 code and did not find any place where we
> cache the CarbonContext. Like HttpReqeust, Response etc. I think it is
> perfectly OK to create CarbonContext instances per request. But the creation
> of it should be fast.
>
OK, we need to compare 3.1.0 and 3.2.0 (profile them both I mean) and see
whether we can find what's the cause of this slowness, as this issue is due
to something that has changed between 3.1.0 and today.
Thanks,
Senaka.
>
> On Fri, Mar 11, 2011 at 10:12 PM, Senaka Fernando <senaka at wso2.com> wrote:
>
>> Hi Azeez,
>>
>> OK, so it seems to be wrong to be reconstructing the carbon context over
>> and over again, for each request that comes in. This was cached in some
>> scope (session or context), making this a one-time overhead. Did this change
>> from 3.1.0 to 3.2.0 for some reason?
>>
>> Thanks,
>> Senaka.
>>
>> On Fri, Mar 11, 2011 at 3:54 PM, Afkham Azeez <azeez at wso2.com> wrote:
>>
>>> As can be seen in the JProfiler screenshot, there getRegistry methods are
>>> introducing a big overhead.
>>>
>>> --
>>> *Afkham Azeez*
>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com
>>> ,
>>> *
>>> *
>>> *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/>
>>> *
>>> email: **azeez at wso2.com* <azeez at wso2.com>* 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*
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev at wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Senaka Fernando*
>> Product Manager - WSO2 Governance Registry;
>> Associate Technical Lead; WSO2, Inc.; http://wso2.com*
>> Member; Apache Software Foundation; http://apache.org
>>
>> E-mail: senaka AT wso2.com
>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>> Linked-In: http://www.linkedin.com/in/senakafernando
>>
>> *Lean . Enterprise . Middleware
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **azeez at wso2.com* <azeez at wso2.com>* 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*
>
>
--
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org
E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando
*Lean . Enterprise . Middleware
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.wso2.org/pipermail/carbon-dev/attachments/20110323/7664933a/attachment-0001.htm>
More information about the Carbon-dev
mailing list