Jianfeng Xia(jxia11), Cheng Hu(chenghu3)
Go 1.11.4, Python 36
For details of algorithms & system design and performance evalution, please refer:
reports/CS425_MP2_CP1_Report.pdf
reports/CS425_MP2_CP2_Report.pdf
-
The service should be run at VM number 7, port 8888
-
Log into group VMs and clone repository
-
To build:
go build client.go
-
Run program:
./client PORT
Alternatively, use our Python3 scriptexperiment.py
to start multiple clients (starting a node every 0.5s) and write stdout to logfiles.
Usage of Python script:
python36 experiment.py [NUMBER OF CLIENTS]
-
Plotting: We have also included scripts to analyze performance and generate plots. To run the scripts:
cd logs
python3 propagation.py
python3 bandwidth.py
Note:
- Our plot scripts use
matplotlib
andnumpy
, we suggest to run those scripts on machine has those library. - Because the log files are large(we use logs in the case of 100 nodes, 20 mesg/s), please be patient when running scripts.