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 "Thomas Mueller (Jira)" <ji...@apache.org> on 2020/06/16 16:36:00 UTC

[jira] [Commented] (OAK-9116) Datastore: read-only cache that uses a key-value store

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

Thomas Mueller commented on OAK-9116:
-------------------------------------

PR for illustration: https://github.com/oak-indexing/jackrabbit-oak/pull/198 (untested).

> Datastore: read-only cache that uses a key-value store
> ------------------------------------------------------
>
>                 Key: OAK-9116
>                 URL: https://issues.apache.org/jira/browse/OAK-9116
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: blob
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>
> For data stores that are large and contain a lot of small entries, the overhead of the current file cache is quite large: at least one file per entry is needed. For most file systems, that means 4 KB per entry. If entries are much smaller (e.g. 30 bytes), the overhead is large.
> We could instead use a read-only key-value store for such entries.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)