Introducing Apache Jackrabbit OAK

1,764 views

Published on

Presented @ Adobe, Bangalore - Introduction to the Node State Model in Jackrabbit OAK

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,764
On SlideShare
0
From Embeds
0
Number of Embeds
47
Actions
Shares
0
Downloads
66
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Introducing Apache Jackrabbit OAK

  1. 1. JackRabbit OAK Yash Mody, PhD CTO | Tekno Point Consulting www.teknopoint.us  
  2. 2. Introducing the “oak” Hierarchical Content repository New age CMS – distributed, loosely couples, multiplatform solution JCR Compliant (not full coverage) Scalable (>100 M nodes) Cloud Deployments www.teknopoint.us  
  3. 3. Architecture .NodeStore .MicroKernel (MK) .NodeState www.teknopoint.us  
  4. 4. Overview OAK  JCR   OAK  CORE   OAK  PLUGINS   www.teknopoint.us  
  5. 5. Layers Light wt HTTP protocol for JSON www.teknopoint.us  
  6. 6. The Node store architecture www.teknopoint.us  
  7. 7. fundamentals Hierarchical/Tree Model with nodes and properties Everything else is plugin based Tree is immutable, changes are new revisions Multi Version Concurrency Control (MVCC) model Snapshot Isolation Relaxed first committer wins strategy Write Skew (ex: joint accounts) www.teknopoint.us  
  8. 8. Node state Model Node – unordered collection Content revisions will change states of Nodes Node State is an immutable snapshot of a specific state NodeState and NodeBuilder Interfaces www.teknopoint.us  
  9. 9. Node store Implementation of Node State Model Java API for NSM functionality www.teknopoint.us  
  10. 10. Microkernel NSM implementation with String only JSON API Remoteable Stateless 2 flavors of MK: Document and Segment Document – Max performance in stand alone systems Segment – Max Scalability for cluster www.teknopoint.us  
  11. 11. Other stuff Compare NodeState Commit Hooks – controls/modifies what to do with a commit Commit Editors – parallel processing of multiple hooks Commit Validators – only validates. Cannot modify www.teknopoint.us  
  12. 12. Thanks @yash_mody http://www.linkedin.com/in/modyyash www.teknopoint.us  

×