You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2016/08/04 13:16:20 UTC

[jira] [Updated] (SLING-5730) Avoid creating a File of a package when it's small enough to fit in memory

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

Simone Tripodi updated SLING-5730:
----------------------------------
    Attachment: SLING-5730.4.patch

Hi again [~teofili],
please have a look at a new improvement in the latest patch: when swapping to file, rather than re-writing the whole in-memory data to the tmp file, only the resting data will be written on disk... it should help improving the performances.
HTH, please let me know if more work is required in order to improve that feature!

> Avoid creating a File of a package when it's small enough to fit in memory
> --------------------------------------------------------------------------
>
>                 Key: SLING-5730
>                 URL: https://issues.apache.org/jira/browse/SLING-5730
>             Project: Sling
>          Issue Type: Improvement
>          Components: Distribution
>            Reporter: Tommaso Teofili
>            Assignee: Simone Tripodi
>             Fix For: Content Distribution 0.2.0
>
>         Attachments: SLING-5730.1.patch, SLING-5730.2.patch, SLING-5730.3.patch, SLING-5730.4.patch, SLING-5730.patch
>
>
> {{ResourcePackageBuilder}} creates a temporary file holding the actual package stream, it'd be good to avoid that when the size of the stream is small enough to quickly fit into memory.



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