Hi,
>>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?
>>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.
Regards,
Thomas
|