Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.86 KB

README.md

File metadata and controls

20 lines (16 loc) · 1.86 KB

Pear2Pear_DS2_Assignment1

This is Assignment 1 of the Distributed System 2, DISI, University of Trento, A.Y. 2020/2021. Here, you can find the Java source of the Broadcast-Only Communication Model Based on Replicated Append-Only Logs implementation in Repast Simphony and the report containing the description of the work that has been done, technical details and performance analysis.

Students

References

The project is an implementation of A Broadcast-Only Communication Model Based on Replicated Append-Only Logs, by C. F. TSCHUDIN.

Installer

You can download the installer (.jar) from here and follow the steps described into the report.

  • Make sure JRE 11 is installed on your system.
  • Run the setup.jar using the system GUI or by typing java -jar setup.jar in the terminal. Follow the wizard steps in order to accept the licence and choose the installation directory.
  • Launch the simulator by executing start_model.bat. A Java application will be displayed on your screen. If you are using an Apple Mac device then you have to execute startmodel.command.
  • Set the values of the parameters from the Parameter window. Once you have chosen the parameter values, it is possible to save them for further executions.
  • Finally, you can launch the simulation by clicking on the Initialize Run button placed on the upper bar. You can start the simulation by clicking on Start Run button or by clicking on the Step button. Simulation execution can be slowed down by increasing the Schedule Tick Delay in the Run Options window.