You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2024/05/14 14:27:00 UTC

[jira] [Commented] (OAK-10803) Compress in-memory property values

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

Julian Reschke commented on OAK-10803:
--------------------------------------

We should clarify what JCR property types we're discussing here. "string" or "binary"? The implementation approach might differ for both.

I believe that strings might be more interesting because they are indeed kept in memory (once a node was read), while binaries might only be fetched on demand.

> Compress in-memory property values
> ----------------------------------
>
>                 Key: OAK-10803
>                 URL: https://issues.apache.org/jira/browse/OAK-10803
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Daniel Iancu
>            Priority: Major
>
> Some properties in the repository can be quite large and consume a considerable amount of memory. E.g. large multi-valued properties, blob IDs that contain an inlined binary.
> With a certain size of the value, it may be beneficial to compress it when loaded into memory/cache and uncompress it only on access. This shouldn't be too difficult and can be implemented in a backward compatible way, because it only affects the in-memory representation and not how data is stored.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)