Skip to content

Instantly share code, notes, and snippets.

@glogiotatidis

glogiotatidis/cacheresults

Last active Aug 29, 2015
Embed
What would you like to do?
Masterfirefoxos caching
# Tested on EC2 instance
## With Cache
ubuntu@masterfirefoxos-jenkins:~$ ab -n 1000 -c 10 https://giorgos-dev.masterfirefoxos.com/en/2-0/
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking giorgos-dev.masterfirefoxos.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: nginx/1.6.2
Server Hostname: giorgos-dev.masterfirefoxos.com
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128
Document Path: /en/2-0/
Document Length: 10919 bytes
Concurrency Level: 10
Time taken for tests: 4.092 seconds
Complete requests: 1000
Failed requests: 14
(Connect: 0, Receive: 0, Length: 14, Exceptions: 0)
Total transferred: 12190014 bytes
HTML transferred: 10919014 bytes
Requests per second: 244.40 [#/sec] (mean)
Time per request: 40.916 [ms] (mean)
Time per request: 4.092 [ms] (mean, across all concurrent requests)
Transfer rate: 2909.47 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 8 11 2.7 10 36
Processing: 11 30 12.4 27 117
Waiting: 11 30 12.3 26 117
Total: 25 41 12.1 37 127
Percentage of the requests served within a certain time (ms)
50% 37
66% 39
75% 41
80% 43
90% 59
95% 65
98% 70
99% 100
100% 127 (longest request)
## Without Cache
ubuntu@masterfirefoxos-jenkins:~$ ab -n 1000 -c 10 https://giorgos-dev.masterfirefoxos.com/en/2-0/
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking giorgos-dev.masterfirefoxos.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: nginx/1.6.2
Server Hostname: giorgos-dev.masterfirefoxos.com
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128
Document Path: /en/2-0/
Document Length: 7280 bytes
Concurrency Level: 10
Time taken for tests: 124.753 seconds
Complete requests: 1000
Failed requests: 984
(Connect: 0, Receive: 0, Length: 984, Exceptions: 0)
Total transferred: 11976279 bytes
HTML transferred: 10819450 bytes
Requests per second: 8.02 [#/sec] (mean)
Time per request: 1247.534 [ms] (mean)
Time per request: 124.753 [ms] (mean, across all concurrent requests)
Transfer rate: 93.75 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 4 5 2.3 4 32
Processing: 939 1237 306.6 1178 6137
Waiting: 939 1236 306.7 1178 6137
Total: 944 1242 306.9 1183 6143
Percentage of the requests served within a certain time (ms)
50% 1183
66% 1274
75% 1314
80% 1358
90% 1442
95% 1598
98% 2062
99% 2319
100% 6143 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.