jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: [jr3] Unified persistence
Date Thu, 18 Feb 2010 11:21:04 GMT
On Wed, Feb 17, 2010 at 5:42 PM, Thomas Müller <thomas.mueller@day.com> wrote:
> Hi,
>
> I would implement the storage layer ourselves. It could look like:
>
> - FileDataStore: keep as is (maybe reduce the directory level by one).
>
> - Each node has a number (I would use a long). Used for indexing.
>
> - MainStorage: the node data is kept in an append-only "main
> persistence storage". When switching to a new file, the node lookup
> table (node index) is appended. An optimization step would separate
> less updated nodes ("old generation") and frequently updated nodes.
> Nodes and its child nodes are grouped together.
>
> - Namespace index, name index, nodetype registry: start with a fixed
> (hardcoded) list, and store additional entries as system nodes.

i like this approach, +1

cheers
stefan

>
> Regards,
> Thomas
>

Mime
View raw message