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 2016/08/01 10:51:20 UTC
[jira] [Commented] (SLING-5924) Resource package builder threshold
is too low
[ https://issues.apache.org/jira/browse/SLING-5924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15401832#comment-15401832 ]
Tommaso Teofili commented on SLING-5924:
----------------------------------------
thanks [~simone.tripodi], the off-heap idea sounds very good, I did a brief test and it gives a nice boost to performance.
> Resource package builder threshold is too low
> ---------------------------------------------
>
> Key: SLING-5924
> URL: https://issues.apache.org/jira/browse/SLING-5924
> Project: Sling
> Issue Type: Improvement
> Components: Distribution
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: Content Distribution 0.2.0
>
> Attachments: SLING-5924.2.patch, SLING-5924.patch
>
>
> The _fileThreshold_ default in {{ResourceDistributionPackageBuilder}} is set to 128KB, that is generally a bit too low even for small resources (one resource with a few properties).
> I'd raise the default to something that's generally big enough to contain one resource, e.g. 1MB.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)