jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: writing a new DocumentStore implementation
Date Mon, 02 Dec 2013 15:17:30 GMT

>I'm curious now, is DocumentStore yet another way of creating a custom
>storage backend for Oak, besides NodeStore and MicroKernel?

Yes. The DocumentStore is an abstraction of the underlying MongoDB
storage. There is second implementation, the MemoryDocumentStore used for
testing, so that unit tests don't need a real MongoDB.

The DocumentStore is similar to a map; it is much lower level than
NodeStore or MicroKernel. The DocumentStore doesn't support "transactions"
(atomic multi-document updates) or "revisions" or the concept of
"children" or "path".

By the way, the blob store used within the MongoMK also has multiple
storage backends (AbstractBlobStore; MongoBlobStore, MemoryBlobStore,
FileBlobStore, DbBlobStore), and the SegmentNodeStore also has multiple
backends (AbstractStore; FileStore, MemoryStore, MongoStore).


View raw message