portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sebastien (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-950) Improve Jetspeed statistics component
Date Fri, 14 Aug 2009 15:57:14 GMT

    [ https://issues.apache.org/jira/browse/JS2-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743255#action_12743255
] 

sebastien commented on JS2-950:
-------------------------------

I was using Jetspeed 2.1.3 in a projet with a lot of hits and I had to maximize the application
throughput. With a lot of profiling of the application, I found few possible optimizations
to the Jetspeed code and one of them was that the BatchedStatistics class was execively synchronizing.
I had the chance to use a Java 1.5 environnement and I came with a patch using java.util.concurrent
api and removing synchronize blocks. 

This patch was tested with jmeter and a profiler and proved to increase the server throughput.
It is also in use in production environement for over a year without problems.

Since Jetspeed 2.2 now require Java 1.5, I have ported this patch created for J-2.1.3 to J-2.2.
The patch could be integrated in your code and I hope this could be my first stone to the
project.

Please feel free to ask questions about my implementation.

Regards,

Sebastien

> Improve Jetspeed statistics component
> -------------------------------------
>
>                 Key: JS2-950
>                 URL: https://issues.apache.org/jira/browse/JS2-950
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Components Core
>    Affects Versions: 2.2.0
>            Reporter: Vivek Kumar
>            Assignee: Vivek Kumar
>             Fix For: 2.2.1
>
>
> Jetspeed statistics component needs improvement while writing to console or database.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message