Marcel Reutegger commented on OAK-1312:

One more thing, already mentioned to Chetan offline. The MongoDocumentStore 
could leverage sub document structure when persisting map entries with relative 
paths. That way many duplicate path prefixes could be avoided. It would be 
MongoDocumentStore specific and transparent to the DocumentNodeStore. The 
UpdateOp and also the in-memory Document representation would still have the 
full relative paths for bundled nodes/properties. In any case, this enhancement 
should be discussed first in a separate issue.

> Bundle nodes into a document
> ----------------------------
>                 Key: OAK-1312
>                 URL: https://issues.apache.org/jira/browse/OAK-1312
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, documentmk
>            Reporter: Marcel Reutegger
>            Assignee: Chetan Mehrotra
>              Labels: performance
>             Fix For: 1.6
>         Attachments: OAK-1312-meta-prop-handling.patch, 
> OAK-1312-review-v1.diff, OAK-1312-review-v2.diff
> For very fine grained content with many nodes and only few properties per 
> node it would be more efficient to bundle multiple nodes into a single 
> MongoDB document. Mostly reading would benefit because there are less 
> roundtrips to the backend. At the same time storage footprint would be lower 
> because metadata overhead is per document.
> Feature branch - 
> https://github.com/chetanmeh/jackrabbit-oak/compare/trunk...chetanmeh:OAK-1312

This message was sent by Atlassian JIRA

Reply via email to