Immutable DataTree

2011-11-01 Thread Thomas Koch
Hi, I'm like two days away from having a version of ZooKeeper with an immutable DataTree on the server. This means that for any modification of the DataTree, all Nodes from the modified one up to the root are replaced by new nodes. Advantages: - No synchronisation needed when accessing

Re: Immutable DataTree

2011-11-01 Thread Ted Dunning
We have talked about this in the past. There are several clear advantages. Do you have an appropriate immutable DataTree? What did you use to implement this? On Tue, Nov 1, 2011 at 9:40 AM, Thomas Koch tho...@koch.ro wrote: Hi, I'm like two days away from having a version of ZooKeeper

Re: Immutable DataTree

2011-11-01 Thread Ted Dunning
Give me a budget. I will see what I can do. On Tue, Nov 1, 2011 at 9:40 AM, Thomas Koch tho...@koch.ro wrote: Once I've got there, I'd like to do performance comparissions between old and new. However I don't have accesses to hardware for such a test. So this would only be possible, if

Re: Immutable DataTree

2011-11-01 Thread Thomas Koch
Ted Dunning: We have talked about this in the past. There are several clear advantages. Do you have an appropriate immutable DataTree? What did you use to implement this? Java? :-) I have not yet included any additional library, if that's your question. What do you mean by appropriate

Re: Immutable DataTree

2011-11-01 Thread Ted Dunning
On Tue, Nov 1, 2011 at 10:46 AM, Thomas Koch tho...@koch.ro wrote: Ted Dunning: We have talked about this in the past. There are several clear advantages. Do you have an appropriate immutable DataTree? What did you use to implement this? Java? :-) I have not yet included any