Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA5A676C1 for ; Thu, 20 Oct 2011 09:36:34 +0000 (UTC) Received: (qmail 49116 invoked by uid 500); 20 Oct 2011 09:36:34 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 49014 invoked by uid 500); 20 Oct 2011 09:36:34 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 49007 invoked by uid 99); 20 Oct 2011 09:36:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2011 09:36:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2011 09:36:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E1704313B02 for ; Thu, 20 Oct 2011 09:36:10 +0000 (UTC) Date: Thu, 20 Oct 2011 09:36:10 +0000 (UTC) From: "Jukka Zitting (Commented) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1892805058.14756.1319103370924.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1845552215.635.1318864450755.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JCR-3117) Stats for the PersistenceManager MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-3117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131482#comment-13131482 ] Jukka Zitting commented on JCR-3117: ------------------------------------ > the 2 counts are just incremental operations on AtomicLong, I don't really see the added value in using TS; There's two main benefits: 1) we get a full time series of the collected values, and 2) we don't need the extra interface or custom code for accessing this piece of information. > the 'cache miss avg duration' : AFAIK the TS impl does not do averages currently, if it will, I'm open for using it. The average duration is easily calculated by dividing total duration by count per second. It's not currently supported by the TS implementation, but will be easy enough to add. > Stats for the PersistenceManager > -------------------------------- > > Key: JCR-3117 > URL: https://issues.apache.org/jira/browse/JCR-3117 > Project: Jackrabbit Content Repository > Issue Type: Sub-task > Components: jackrabbit-core > Reporter: Alex Parvulescu > Assignee: Alex Parvulescu > Priority: Minor > Fix For: 2.3.2 > > Attachments: 0001-JCR-3117-Stats-for-the-PersistenceManager.patch, JCR-3117.patch > > > Statistics for the PersistenceManager impl that cover: > - bundle cache access count, > - bundle cache miss count, > - bundle cache miss avg duration (this avg includes the penalty of having to load from the underlying storage / can be interpreted as avg read latency as there is no cache involved) > - bundle writes per second > What it doesn't cover is : > - number of bundles > - size of workspace > as these are values that are expensive to compute on demand, and caching them would imply being able to store the values (which is not possible currently). -- 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