Skip to content

Instantly share code, notes, and snippets.

@mingderwang
Forked from anonymous/gist:3db1cb1e653343136658
Last active August 29, 2015 14:23
Show Gist options
  • Save mingderwang/958b7dcd3783684881bf to your computer and use it in GitHub Desktop.
Save mingderwang/958b7dcd3783684881bf to your computer and use it in GitHub Desktop.
root@redmine:~/stress_test/gke# ../vegeta attack -rate=10000 -targets=targets.txt > results_23_101_1000_1.bin
root@redmine:~/stress_test/gke# ../vegeta report -inputs="results_23_101_1000_1.bin"
Requests [total, rate] 100000, 9954.37
Duration [total, attack, wait] 10.659396317s, 10.045843051s, 613.553266ms
Latencies [mean, 50, 95, 99, max] 131.628089ms, 22.243637ms, 677.705875ms, 6.066950532s, 6.066950532s
Bytes In [total, mean] 17340748, 173.41
Bytes Out [total, mean] 0, 0.00
Success [ratio] 15.10%
Status Codes [code:count] 200:15096 0:84904
Error Set:
Get http://107.167.178.216/env: dial tcp 107.167.178.216:80: too many open files
Get http://107.167.178.216/: dial tcp 107.167.178.216:80: too many open files
Get http://107.167.178.216/env: read tcp 107.167.178.216:80: connection reset by peer
Get http://107.167.178.216/: read tcp 107.167.178.216:80: connection reset by peer
root@redmine:~/stress_test/gke# ../vegeta attack -rate=10000 -targets=targets.txt > results_23_101_1000_2.bin
root@redmine:~/stress_test/gke# ../vegeta report -inputs="results_23_101_1000_2.bin"Requests [total, rate] 100000, 9999.87
Duration [total, attack, wait] 10.414912873s, 10.000125498s, 414.787375ms
Latencies [mean, 50, 95, 99, max] 146.421241ms, 64.272138ms, 572.83118ms, 2.788896034s, 2.788896034s
Bytes In [total, mean] 32226184, 322.26
Bytes Out [total, mean] 0, 0.00
Success [ratio] 26.02%
Status Codes [code:count] 200:26022 0:73978
Error Set:
Get http://107.167.178.216/env: dial tcp 107.167.178.216:80: too many open files
Get http://107.167.178.216/: dial tcp 107.167.178.216:80: too many open files
@mingderwang
Copy link
Author

// 3 replicas run on 2 nodes won't gain any good.

root@redmine:/stress_test/gke# ../vegeta attack -rate=10000 -targets=targets.txt > results_23_101_1000_3.bin
root@redmine:
/stress_test/gke# ../vegeta report -inputs="results_23_101_1000_3.bin"Requests [total, rate] 100000, 10000.10
Duration [total, attack, wait] 10.443052048s, 9.999899816s, 443.152232ms
Latencies [mean, 50, 95, 99, max] 146.273611ms, 70.784546ms, 627.303417ms, 2.551519143s, 2.551519143s
Bytes In [total, mean] 34504787, 345.05
Bytes Out [total, mean] 0, 0.00
Success [ratio] 27.16%
Status Codes [code:count] 200:27163 0:72837
Error Set:
Get http://107.167.178.216/env: dial tcp 107.167.178.216:80: too many open files
Get http://107.167.178.216/: dial tcp 107.167.178.216:80: too many open files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment