Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 829 Bytes

File metadata and controls

15 lines (10 loc) · 829 Bytes

FR-Algorithm-With-Crash-Recovery

How to run this applicaiton:

The main file in the folder p2ms should be run first. The program would ask for a port number to run the master server and this value needs to be provided.

After running the master server, 5 servers should be run from the main.java file in the folder p2s. The program would require 4 inputs, the file to be modified and the port numbers for the servers that communicate with the master server, the client and the other peer servers.

After this, the client program can be run. This can be run from the java file in the folder p2c. The program requires inputs : Client ID, Port to run a server that receives crash notifications from the server and a message that needs to be written to the file.

Reference: http://www.ymsir.com/papers/fr-ladis.pdf