feat: conn pool no pipeline
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

note: lost previous benchmarks, so redoing
This commit is contained in:
Aravinth Manivannan 2023-12-26 18:38:06 +05:30
parent 6dc2b9efd0
commit bebab4c8a5
Signed by: realaravinth
GPG key ID: F8F50389936984FF
6 changed files with 606 additions and 0 deletions

1
.gitignore vendored
View file

@ -156,3 +156,4 @@ keys
htmlcov/ htmlcov/
tmp/ tmp/
static/ static/
nohup.out

View file

@ -0,0 +1 @@
Count,Message,Traceback,Nodes
1 Count Message Traceback Nodes

View file

@ -0,0 +1 @@
Method,Name,Error,Occurrences
1 Method Name Error Occurrences

File diff suppressed because one or more lines are too long

View file

@ -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
1 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%
2 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
3 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

8
launch.sh Executable file
View file

@ -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