MicroKernel & NodeStore

Preview:

Citation preview

MicroKernel & NodeStoretwo sides of the same coin

MicroKernel (interface) Designed with remoting and potential

non-Java implementations in mind RPC-like, with JSON/P serialization Two main implementations:

MongoMK (the new MongoDB-based MK) “H2” MK (old one, to be deprecated)

NodeStore Mapping of MK concepts to an object-

oriented, native Java set of interfaces Omissions: direct journal access, filter rules Extensions: NodeBuilder, NodeStateDiff

No serialization, random access possible Three main implementations

MemoryNodeStore (for testing, utilities) KernelNodeStore (MK mapping) SegmentNodeStore (the Segment/TarMK)

MicroKernel (architecture) Key points

Basic content tree model MVCC-based revisions Merging of concurrent changes

Any implementation a “MicroKernel”, regardless of the specific interface

Recommended