diff --git a/.gitignore b/.gitignore index 06d46ba..a38a254 100644 --- a/.gitignore +++ b/.gitignore @@ -156,3 +156,4 @@ keys htmlcov/ tmp/ static/ +nohup.out diff --git a/bench/results/v1/pooling/nopipelining/exceptions_1703596030.9513938.csv b/bench/results/v1/pooling/nopipelining/exceptions_1703596030.9513938.csv new file mode 100644 index 0000000..5e0e870 --- /dev/null +++ b/bench/results/v1/pooling/nopipelining/exceptions_1703596030.9513938.csv @@ -0,0 +1 @@ +Count,Message,Traceback,Nodes diff --git a/bench/results/v1/pooling/nopipelining/failures_1703596027.5191846.csv b/bench/results/v1/pooling/nopipelining/failures_1703596027.5191846.csv new file mode 100644 index 0000000..f87ff75 --- /dev/null +++ b/bench/results/v1/pooling/nopipelining/failures_1703596027.5191846.csv @@ -0,0 +1 @@ +Method,Name,Error,Occurrences diff --git a/bench/results/v1/pooling/nopipelining/report_1703595860.4832726.html b/bench/results/v1/pooling/nopipelining/report_1703595860.4832726.html new file mode 100644 index 0000000..766ef81 --- /dev/null +++ b/bench/results/v1/pooling/nopipelining/report_1703595860.4832726.html @@ -0,0 +1,592 @@ + + + + Test Report for locustfile.py + + + + +
+

Locust Test Report

+ +
+ +

During: 2023-12-26 13:03:21 - 2023-12-26 13:03:59

+

Target Host: http://localhost:9001

+

Script: locustfile.py

+
+ +
+

Request Statistics

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodName# Requests# FailsAverage (ms)Min (ms)Max (ms)Average size (bytes)RPSFailures/s
POSThttp://localhost:9001/write148740070485983904.80.0
Aggregated148740070485983904.80.0
+
+ +
+

Response Time Statistics

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodName50%ile (ms)60%ile (ms)70%ile (ms)80%ile (ms)90%ile (ms)95%ile (ms)99%ile (ms)100%ile (ms)
POSThttp://localhost:9001/write67910121525480
Aggregated67910121525480
+
+ + + + + + +
+

Charts

+
+ + +
+

Final ratio

+
+
+ +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/bench/results/v1/pooling/nopipelining/requests_1703596023.1375458.csv b/bench/results/v1/pooling/nopipelining/requests_1703596023.1375458.csv new file mode 100644 index 0000000..91df077 --- /dev/null +++ b/bench/results/v1/pooling/nopipelining/requests_1703596023.1375458.csv @@ -0,0 +1,3 @@ +Type,Name,Request Count,Failure Count,Median Response Time,Average Response Time,Min Response Time,Max Response Time,Average Content Size,Requests/s,Failures/s,50%,66%,75%,80%,90%,95%,98%,99%,99.9%,99.99%,100% +POST,http://localhost:9001/write,148740,0,6,7.030960064542154,0,485,98.25319349199947,3904.7975720558998,0.0,6,8,9,10,12,15,20,25,170,380,480 +,Aggregated,148740,0,6,7.030960064542154,0,485,98.25319349199947,3904.7975720558998,0.0,6,8,9,10,12,15,20,25,170,380,480 diff --git a/launch.sh b/launch.sh new file mode 100755 index 0000000..b1ad14a --- /dev/null +++ b/launch.sh @@ -0,0 +1,8 @@ +#!/bin/bash +nohup ./target/release/main --id 1 --http-addr 127.0.0.1:9001 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 & +sleep 1 +nohup ./target/release/main --id 2 --http-addr 127.0.0.1:9002 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 & +sleep 1 +nohup ./target/release/main --id 3 --http-addr 127.0.0.1:9003 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 & + +read -p "Continue? (Y/N): " confirm && killall main