Distributed data structures
April 27th, 2009 14:25 by stsI’ve finally managed to finish the implementation of Holumbus-Distribution 0.0.2.0. As mentioned in the previous posts, the library now contains of various features for inter-process communication:
- distributed Chans (DChan)
- distributed Streams and Ports (DStream, DPort)
- distributed Functions for RMI (DFunction)
- distributed MVars (DMVar)
- handlers for watching other processes
- handlers for watching other distributed data structures
- no need for a global name registry
The major principle of this library is very easy. Every program has a global data structure, called DNode, which has a more or less unique address or a string identifier. With the help of the addresses, other DNodes can be registered at the local DNode and then communicate with each other. The distributed data types mentioned above are called DRessources. After they are registered at the local DNode, other nodes are able to access them and use them for inter-process communication.
The library is not completely finished and the documentation is still poor. I need to run some tests and performance measurements, but I think its time to upload it to our repository, so that other people can play with it.