You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2017/05/10 14:26:04 UTC

[jira] [Updated] (SLING-6848) Package level monitoring should be only enabled consciously

     [ https://issues.apache.org/jira/browse/SLING-6848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tommaso Teofili updated SLING-6848:
-----------------------------------
    Attachment: SLING-6848.0.patch

attaching draft patch.

> Package level monitoring should be only enabled consciously
> -----------------------------------------------------------
>
>                 Key: SLING-6848
>                 URL: https://issues.apache.org/jira/browse/SLING-6848
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>            Reporter: Tommaso Teofili
>             Fix For: Content Distribution Core 0.2.8
>
>         Attachments: SLING-6848.0.patch
>
>
> I have noticed that by default all {{DistributionPackages}} get an MBean registered by {{MonitoringDistributionPackageBuilder}}. 
> While that's fine for monitoring purposes, I think that slows down a distribution request a bit, therefore I was wondering if it wouldn't be better to set the default _monitored package size_ to 0 (currently it's 100) and do MBean registration only if that value is higher than 0.
> [~simone.tripodi] what do you think ?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)