Distributed computing

Jfract let's you compute fractals and movies with networks computers avalaible. The technology used is Rmi, several rmi computers started on the network can give services to compute a part of the pictures. The jfract RMIProcessor can take a fractalComputer implementation and distribute it to the network computers.

If you are working in a laboratory with a lot of powerfull computers able to compute wery fast, the movies and pictures generation will become very fast :)))

Here is a schema to describe how it works.

To make it possible just edit the file conf/rmiDistrib.xml

<servers>
	<server url="//localhost/computer1"/>
	<server url="//localhost/computer2"/>
	<server url="//localhost/computer3"/>
</servers> 

Set here the differents url where services are avalaible.

To start a rmi computer on the network, just start the java rmiRegistry on the computer that give a jfract processor service then call runRmiService name_of_your_computer. Notes that the entire jfract home path should be installed on this computer. You can edit this file or transform it into a csh file if you are working with a kind of unix OS.

Once your computers are started edit the properties file -> preferences or conf/conf.properties.

#Sun Sep 22 14:15:12 CEST 2002
DistribRmi=false
imageDir=D\:\\project\\jfract\\images
RmiArraySize=4000
size=1126/1032
movieTempDir=
D\:\\project\\jfract\\tempMovie
movieDir=D\:\\project\\jfract\\movies
beanDir=D\:\\project\\jfract\\beansSer

The two property DistribRmi and RmiArraySize need to be setted to run the remote computerization.

RmiArraySize : the size of image buffer to send to remote computers.

DistribRmi : (true/false) tell if you want to compute with th network.