Clustering can be useful for load-balance and fault-tolerance. It also allows a snapshot to be taken without placing the whole system in read-only mode. That's because you can use a slave to take snapshot while the rest of the nodes continue to run like nothing was happening, in other words, only the slave taking the snapshot needs to enter read-only mode.
To create a Space4J cluster is very easy and simple. Refer to the PhoneBookCluster.java program for an example. We also have a stress program to test the cluster feature.
This message was edited 1 time. Last update was at 05/09/2008 16:24:44
|