Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
아주 단순한 이미지 하나 (static contents)에 대한 퍼포먼스 테스트 express.js vs nginx
[-:] redism@~: ab -n 10000 -c 10 http://127.0.0.1:2131/files/5b68e493-5055-47b3-91e4-ea11c4cd180c.jpg
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software:
Server Hostname: 127.0.0.1
Server Port: 2131
Document Path: /files/5b68e493-5055-47b3-91e4-ea11c4cd180c.jpg
Document Length: 117318 bytes
Concurrency Level: 10
Time taken for tests: 21.975 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 1177126102 bytes
HTML transferred: 1173180000 bytes
Requests per second: 455.06 [#/sec] (mean)
Time per request: 21.975 [ms] (mean)
Time per request: 2.197 [ms] (mean, across all concurrent requests)
Transfer rate: 52311.29 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 10 22 8.7 20 199
Waiting: 1 4 3.1 3 165
Total: 10 22 8.7 20 199
Percentage of the requests served within a certain time (ms)
50% 20
66% 21
75% 22
80% 25
90% 33
95% 37
98% 42
99% 45
100% 199 (longest request)
[-:] redism@~:
[-:] redism@~: ab -n 10000 -c 10 http://127.0.0.1:3003/files/5b68e493-5055-47b3-91e4-ea11c4cd180c.jpg
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software: nginx/1.4.4
Server Hostname: 127.0.0.1
Server Port: 3003
Document Path: /files/5b68e493-5055-47b3-91e4-ea11c4cd180c.jpg
Document Length: 117318 bytes
Concurrency Level: 10
Time taken for tests: 1.179 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 1175560000 bytes
HTML transferred: 1173180000 bytes
Requests per second: 8479.32 [#/sec] (mean)
Time per request: 1.179 [ms] (mean)
Time per request: 0.118 [ms] (mean, across all concurrent requests)
Transfer rate: 973432.44 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 0.1 1 1
Processing: 0 1 0.5 1 17
Waiting: 0 1 0.5 1 16
Total: 1 1 0.5 1 17
Percentage of the requests served within a certain time (ms)
50% 1
66% 1
75% 1
80% 1
90% 1
95% 1
98% 2
99% 2
100% 17 (longest request)
[-:] redism@~:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment