MicroKernel & NodeStore
-
Upload
jukka-zitting -
Category
Technology
-
view
336 -
download
1
Transcript of MicroKernel & NodeStore
![Page 1: MicroKernel & NodeStore](https://reader036.fdocuments.us/reader036/viewer/2022082808/554f5e8fb4c905c8088b4858/html5/thumbnails/1.jpg)
MicroKernel & NodeStoretwo sides of the same coin
![Page 2: MicroKernel & NodeStore](https://reader036.fdocuments.us/reader036/viewer/2022082808/554f5e8fb4c905c8088b4858/html5/thumbnails/2.jpg)
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)
![Page 3: MicroKernel & NodeStore](https://reader036.fdocuments.us/reader036/viewer/2022082808/554f5e8fb4c905c8088b4858/html5/thumbnails/3.jpg)
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)
![Page 4: MicroKernel & NodeStore](https://reader036.fdocuments.us/reader036/viewer/2022082808/554f5e8fb4c905c8088b4858/html5/thumbnails/4.jpg)
MicroKernel (architecture) Key points
Basic content tree model MVCC-based revisions Merging of concurrent changes
Any implementation a “MicroKernel”, regardless of the specific interface