A token passing example of a distributed system
Download the zip file to a suitable place on your hard drive and extract the files.
Download and extract all but the Node.java file on the hard drive of one computer on your hard drive and extract the files. Place the Node.java file in a suitable place on the hard drive of the hard drive on a second machine.
Compile the files as follows
javac filename1.java filename2.java ... filenamen.java
Then use two instances of the command line or terminal to run the Node and Coordinator programs e.g.
java Node
Use an instance of the command line or terminal to run the Node on Coordinator programs from the seperate installations.
Experiment with running different numbers of nodes to see how the coordinator deals with the requests it receives.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.