Tribler / dispersy

The elastic database system. A database designed for P2P-like scenarios, where potentially millions of computers send database updates around.
http://www.tribler.org
87 stars 43 forks source link

Add picture to show Bootstrap server health. #75

Closed boudewijn-tribler closed 11 years ago

boudewijn-tribler commented 11 years ago

http://jenkins.tribler.org/jenkins/job/Test_BootstrapServers/

This test only shows console output that may not be trivial to read. A simple image with a red/green success-rate per tracker would improve readability.

boudewijn-tribler commented 11 years ago

Statistics are being written, see below for syntax. We'll only need to add a nice R script.

/home/boudewijn/git/tribler $ cat summary.txt
# HOST_NAME ADDRESS REQUESTS RESPONSES
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 10 10
asmat.das2.ewi.tudelft.nl 130.161.211.199:6425 10 10
dl.tribler.org 130.161.211.245:6422 10 10
dl.tribler.org 130.161.211.245:6421 10 10
om.cs.vu.nl 130.37.198.19:6424 10 10
superpeer9.das2.ewi.tudelft.nl 130.161.211.194:6427 10 10
om.cs.vu.nl 130.37.198.19:6423 10 10
superpeer9.das2.ewi.tudelft.nl 130.161.211.194:6428 10 10

/home/boudewijn/git/tribler $ cat walk_rtts.txt | head -10
# HOST_NAME ADDRESS rtt
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 0.079145
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 0.016971
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 0.018866
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 0.018281
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 0.031608
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 0.040536
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 0.022421
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 0.025692
asmat.das2.ewi.tudelft.nl 130.161.211.199:6426 0.026798
boudewijn-tribler commented 11 years ago

Elric, can you install ggplot2 and reshape2 on the gorilla's please?

This should fix: http://jenkins.tribler.org/jenkins/job/Test_BootstrapServers_Boudewijn/38/console

+ cat dispersy/tests/test_bootstrap.R
+ R --no-save --silent
> library("ggplot2")
Error in library("ggplot2") : there is no package called ‘ggplot2’
boudewijn-tribler commented 11 years ago

We now have a variety of graphs.