jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <mreut...@adobe.com>
Subject RE: [jr3] clustering
Date Mon, 05 Mar 2012 11:00:03 GMT
> >>The node id
> >> could be the complete path (which isn't terribly efficient, but avoids
> >> problems).
> >
> >right. but with delta encoding the space utilization will be better.
> >given the locality of JCR/MK nodes in a low level block, you will
> >have very similar paths that share a long prefix.
> Sorry I don't know what you mean with delta encoding, could you give an
> example?

OK, delta encoding seems to be a too generic term. what I mean is: http://en.wikipedia.org/wiki/Incremental_encoding

> >>This sounds like a promising approach for MongoDB.
> >
> >MongoDB only gives you atomic guarantees on the document level.
> >how would you implement a commit for multiple JCR nodes?
> Do we need to guarantee all commits to be atomic (all or nothing) in a
> cluster?
> MongoDB supports two-phase commit, but I would only use it for special
> cases like locking.

do you mean this: http://cookbook.mongodb.org/patterns/perform-two-phase-commits/ ?


View raw message