[ 
https://issues.apache.org/jira/browse/OAK-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15067674#comment-15067674
 ] 

Chetan Mehrotra commented on OAK-3819:
--------------------------------------

[initial patch|^OAK-3819-v1.patch] for the same. It introduces a 
{{FileStoreStats}} instance to capture the stats related to operations being 
performed in {{FileStore}}. 

!segment-writes.png!

Above is the meter stats for writes going through segment store showing mean 
rate of 390 KB/sec. This would help us in determining if lots of writes are 
happening or not, how fast and slow are the writes etc. Also TimeSeries data is 
captured for repository size which can help us co-relate some abnormal growth 
in repo to the time when it happened.

[~mduerig] [~alex.parvulescu] [~frm] [~tmueller] Kindly review the patch.

> Collect and expose statistics related to Segment FileStore operations
> ---------------------------------------------------------------------
>
>                 Key: OAK-3819
>                 URL: https://issues.apache.org/jira/browse/OAK-3819
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: segmentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.4
>
>         Attachments: OAK-3819-v1.patch, segment-writes.png
>
>
> It would be useful to collect some more stats around FileStore operations in 
> SegmentMK
> * Writes per second - How many bytes are being written measured per second
> * Repository size time series - There is a time series in {{GCMonitorMBean}} 
> but that looks like get updated upon GC and hence bit stale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to