jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-3958) Split SegmentWriter records cache into 2: strings and templates
Date Mon, 01 Feb 2016 11:02:39 GMT

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

Alex Parvulescu resolved OAK-3958.
----------------------------------
    Resolution: Fixed

fixed with http://svn.apache.org/viewvc?rev=1727915&view=rev

I left in the tighter margins on the map, it this turns out to be an issue, we can tweak the
numbers again.
The fix introduces 2 system properties to control the cache size (-1 disables the cache) {{oak.segment.writer.templatesCacheSize}}
and {{oak.segment.writer.stringsCacheSize}}

> Split SegmentWriter records cache into 2: strings and templates
> ---------------------------------------------------------------
>
>                 Key: OAK-3958
>                 URL: https://issues.apache.org/jira/browse/OAK-3958
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segmentmk
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>            Priority: Minor
>             Fix For: 1.3.15
>
>         Attachments: OAK-3958.patch
>
>
> I think it makes sense to split the 2 caches apart, from what I've seen the ratio is
very unbalanced (10 strings to 1 template), so keeping the 2 together might hurt the template
cache.



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

Mime
View raw message