Skip to content

Instantly share code, notes, and snippets.

@IamTechknow
Created November 28, 2018 00:00
Show Gist options
  • Save IamTechknow/b52d72aee9133c43155240f1106e6ff2 to your computer and use it in GitHub Desktop.
Save IamTechknow/b52d72aee9133c43155240f1106e6ff2 to your computer and use it in GitHub Desktop.
Isolated stress test of EC2 hosted service
Command: httperf --server=localhost --port=80 --uri=/MTAwMDAwMA== --num-conns=60000 --rate 200
Output:
ubuntu@ip-172-31-28-141:~$ httperf --server=localhost --port=80 --uri=/MTAwMDAwMA== --num-conns=60000 --rate 200
httperf --client=0/1 --server=localhost --port=80 --uri=/MTAwMDAwMA== --rate=200 --send-buffer=4096 --recv-buffer=16384 --num-conns=60000 --num-calls=1
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 9
Total: connections 60000 requests 60000 replies 60000 test-duration 300.003 s
Connection rate: 200.0 conn/s (5.0 ms/conn, <=60 concurrent connections)
Connection time [ms]: min 0.0 avg 2.5 max 297.6 median 1.5 stddev 14.1
Connection time [ms]: connect 0.0
Connection length [replies/conn]: 1.000
Request rate: 200.0 req/s (5.0 ms/req)
Request size [B]: 74.0
Reply rate [replies/s]: min 199.8 avg 200.0 max 200.2 stddev 0.1 (60 samples)
Reply time [ms]: response 2.5 transfer 0.0
Reply size [B]: header 293.0 content 306.0 footer 0.0 (total 599.0)
Reply status: 1xx=0 2xx=60000 3xx=0 4xx=0 5xx=0
CPU time [s]: user 71.05 system 160.36 (user 23.7% system 53.5% total 77.1%)
Net I/O: 131.4 KB/s (1.1*10^6 bps)
Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
ubuntu@ip-172-31-28-141:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment