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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2017/02/23 09:58:44 UTC

[jira] [Created] (OAK-5786) Memory based FileStore bootstrap

Alex Parvulescu created OAK-5786:
------------------------------------

             Summary: Memory based FileStore bootstrap
                 Key: OAK-5786
                 URL: https://issues.apache.org/jira/browse/OAK-5786
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-tar
            Reporter: Alex Parvulescu
            Assignee: Alex Parvulescu


A memory-based FileStore boot would reduce IO to zero (or as close as possible) and provide more insight into the code bottlenecks (locks, concurrency control, etc).

A very basic idea (with minimal changes to current code) is to boot a FileStore that would
* disable mmaping
* have an unbounded segment cache (and/or other caches), with no size checks
* eagerly load all application state in memory on startup
* optionally flush everything to disk on shutdown only so the state is persistent




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)