You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/06/22 08:28:42 UTC

[jira] [Created] (SLING-2516) Reuqest Performance Analysis helper

Felix Meschberger created SLING-2516:
----------------------------------------

             Summary: Reuqest Performance Analysis helper
                 Key: SLING-2516
                 URL: https://issues.apache.org/jira/browse/SLING-2516
             Project: Sling
          Issue Type: New Feature
          Components: Extensions
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger


To measure overall request performance, Sling has a RequestProgressTracker where each request is tracking progress as  a request is processed. Normally this RequestProgressTracker is just collected but other than being presented in the "Recent Requests" page of the web console not further used.

To track down generic bottle necks and processing peaks while doing load tests on a Sling system, it would be usefull if the RequestProgressTracker data could be dumped into a file which can later be displayed and analysed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2516) Request Performance Analysis helper

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402160#comment-13402160 ] 

Justin Edelson commented on SLING-2516:
---------------------------------------

FYI - the RequestProgresssTracker data can already be dumped to a file by setting the log level on org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter to DEBUG.
                
> Request Performance Analysis helper
> -----------------------------------
>
>                 Key: SLING-2516
>                 URL: https://issues.apache.org/jira/browse/SLING-2516
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> To measure overall request performance, Sling has a RequestProgressTracker where each request is tracking progress as  a request is processed. Normally this RequestProgressTracker is just collected but other than being presented in the "Recent Requests" page of the web console not further used.
> To track down generic bottle necks and processing peaks while doing load tests on a Sling system, it would be usefull if the RequestProgressTracker data could be dumped into a file which can later be displayed and analysed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2516) Request Performance Analysis helper

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402190#comment-13402190 ] 

Justin Edelson commented on SLING-2516:
---------------------------------------

Understood and I definitely can see how this adds new capability. I just wanted to ensure that anyone stumbling onto this issue can see that there's a way to get the raw data.
                
> Request Performance Analysis helper
> -----------------------------------
>
>                 Key: SLING-2516
>                 URL: https://issues.apache.org/jira/browse/SLING-2516
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> To measure overall request performance, Sling has a RequestProgressTracker where each request is tracking progress as  a request is processed. Normally this RequestProgressTracker is just collected but other than being presented in the "Recent Requests" page of the web console not further used.
> To track down generic bottle necks and processing peaks while doing load tests on a Sling system, it would be usefull if the RequestProgressTracker data could be dumped into a file which can later be displayed and analysed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2516) Request Performance Analysis helper

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402178#comment-13402178 ] 

Felix Meschberger commented on SLING-2516:
------------------------------------------

RIght. This tool just generates a nice file and comes with another tool to render that file even more nicely. Much easier to particularly in a setup where lots of requests are hammered at the Sling application, say in a performance test.
                
> Request Performance Analysis helper
> -----------------------------------
>
>                 Key: SLING-2516
>                 URL: https://issues.apache.org/jira/browse/SLING-2516
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> To measure overall request performance, Sling has a RequestProgressTracker where each request is tracking progress as  a request is processed. Normally this RequestProgressTracker is just collected but other than being presented in the "Recent Requests" page of the web console not further used.
> To track down generic bottle necks and processing peaks while doing load tests on a Sling system, it would be usefull if the RequestProgressTracker data could be dumped into a file which can later be displayed and analysed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SLING-2516) Reuqest Performance Analysis helper

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399158#comment-13399158 ] 

Felix Meschberger commented on SLING-2516:
------------------------------------------

Committed a first shot of such a tool in Rev. 1352777

The maven project is both a bundle and a standalone Java Application. When deployed as a bundle in Sling's OSGi framework it registers as a Sling request level filter and dumps information for requests to a file:

   * one line with request start time stamp, processing time in ms, request URL, method, response content type and status
   * The complete RequestProgressTracker data

When used as a standalone java application (à la java -jar ...) it takes the name of a file produced by said filter and opens a window with the list of requests collected in the file. This list can be sorted by any of the columns -- for performance analysis sorting by the request processing time is very helpful. When clicking on a request another window is opened showing the RequestProgressTracker data in three columns: time offset since start of request, time delta since last entry, entry message. These helps nicely find hotspots in request processing.
                
> Reuqest Performance Analysis helper
> -----------------------------------
>
>                 Key: SLING-2516
>                 URL: https://issues.apache.org/jira/browse/SLING-2516
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> To measure overall request performance, Sling has a RequestProgressTracker where each request is tracking progress as  a request is processed. Normally this RequestProgressTracker is just collected but other than being presented in the "Recent Requests" page of the web console not further used.
> To track down generic bottle necks and processing peaks while doing load tests on a Sling system, it would be usefull if the RequestProgressTracker data could be dumped into a file which can later be displayed and analysed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (SLING-2516) Request Performance Analysis helper

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-2516:
---------------------------------------

    Summary: Request Performance Analysis helper  (was: Reuqest Performance Analysis helper)
    
> Request Performance Analysis helper
> -----------------------------------
>
>                 Key: SLING-2516
>                 URL: https://issues.apache.org/jira/browse/SLING-2516
>             Project: Sling
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> To measure overall request performance, Sling has a RequestProgressTracker where each request is tracking progress as  a request is processed. Normally this RequestProgressTracker is just collected but other than being presented in the "Recent Requests" page of the web console not further used.
> To track down generic bottle necks and processing peaks while doing load tests on a Sling system, it would be usefull if the RequestProgressTracker data could be dumped into a file which can later be displayed and analysed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira