/FlightsProcessing

Distributed application, made for processing incoming and outgoing flights in different airports. Project for "Programción de Objetos Distribuidos" @ITBA

Primary LanguageJava

TP-POD

Build

This project is developed on Java and using Maven, for building you need Maven +3.5.0 and Java SE 8 installed. Then, run:

$ mvn clean install

Execution

For executing the server run:

$ ./runServer.sh

For executing the client run:

$ ./runClient.sh

Parameters

The client script can be parametrized with the following parameters:

  • -Daddresses: IP addresses of nodes in the cluster
  • -Dquery: Number of query to run
  • -DmovementsInPath: CSV file containing the movements of the airports
  • -DairportsInPath: CSV file containing the airports
  • -DoutPath: outPath where the results of query are output
  • -DtimeOutPath: outPath where time statistics are output

For example:

$ ./runClient -Daddresses=10.6.0.1;10.6.0.2 -Dquery=5 -DmovementsInPath=movimientos.csv 
-DairportsInPath=aeropuertos.csv -DoutPath=query5.csv -DtimeOutPath=query5.txt -Dn=5