Skip to content

Instantly share code, notes, and snippets.

@shadabshaukat
Last active May 30, 2021 23:32
Show Gist options
  • Select an option

  • Save shadabshaukat/676f0ea3f31a85047ae8b1126cee332b to your computer and use it in GitHub Desktop.

Select an option

Save shadabshaukat/676f0ea3f31a85047ae8b1126cee332b to your computer and use it in GitHub Desktop.
benchmark_nginx_oci
$ sudo yum install httpd-tools
$ ab -n 5000 -c 500 http://ip_address/
This is ApacheBench, Version 2.3 <$Revision: 1843412 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 140.x.x.x (be patient)
Completed 500 requests
Completed 1000 requests
Completed 1500 requests
Completed 2000 requests
Completed 2500 requests
Completed 3000 requests
Completed 3500 requests
Completed 4000 requests
Completed 4500 requests
Completed 5000 requests
Finished 5000 requests
Server Software: nginx/1.14.1
Server Hostname: 140.x.x.x
Server Port: 80
Document Path: /
Document Length: 3949 bytes
Concurrency Level: 500
Time taken for tests: 65.482 seconds
Complete requests: 5000
Failed requests: 0
Total transferred: 20915000 bytes
HTML transferred: 19745000 bytes
Requests per second: 76.36 [#/sec] (mean)
Time per request: 6548.250 [ms] (mean)
Time per request: 13.096 [ms] (mean, across all concurrent requests)
Transfer rate: 311.91 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 25 4646 5627.9 567 20621
Processing: 24 400 404.1 287 2002
Waiting: 20 394 401.5 281 2002
Total: 56 5046 5651.1 1173 20659
Percentage of the requests served within a certain time (ms)
50% 1173
66% 11849
75% 12095
80% 12243
90% 12494
95% 12705
98% 13989
99% 14296
100% 20659 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment