| 5 | |
| 6 | == 2011-07-07 == |
| 7 | |
| 8 | === Dev Server === |
| 9 | |
| 10 | Running Varnish on port 80 and apache on 443. |
| 11 | |
| 12 | ==== apache bench ==== |
| 13 | |
| 14 | On port 80, this is with the first hit being passed to apache: |
| 15 | |
| 16 | {{{ |
| 17 | ab -v 4 -n 200 -c 10 -H "Accept-Encoding: gzip" http://dev.transitionnetwork.org/ |
| 18 | |
| 19 | Time taken for tests: 4.302 seconds |
| 20 | |
| 21 | Percentage of the requests served within a certain time (ms) |
| 22 | 50% 7 |
| 23 | 66% 8 |
| 24 | 75% 9 |
| 25 | 80% 55 |
| 26 | 90% 753 |
| 27 | 95% 2988 |
| 28 | 98% 2991 |
| 29 | 99% 2991 |
| 30 | 100% 2993 (longest request) |
| 31 | }}} |
| 32 | |
| 33 | This is for subsequent requests which don't hit apache: |
| 34 | |
| 35 | {{{ |
| 36 | Time taken for tests: 0.183 seconds |
| 37 | |
| 38 | Percentage of the requests served within a certain time (ms) |
| 39 | 50% 7 |
| 40 | 66% 7 |
| 41 | 75% 8 |
| 42 | 80% 8 |
| 43 | 90% 9 |
| 44 | 95% 19 |
| 45 | 98% 40 |
| 46 | 99% 41 |
| 47 | 100% 41 (longest request) |
| 48 | }}} |
| 49 | |
| 50 | ==== pingdom ==== |
| 51 | |
| 52 | * http://tools.pingdom.com/?url=http://dev.transitionnetwork.org/ |
| 53 | * Total loading time: 2 seconds |
| 54 | |
| 55 | Wow, compare this with the last test! |
| 56 | |
| 57 | * http://tools.pingdom.com/?url=https://dev.transitionnetwork.org/ |
| 58 | * Total loading time: 3.2 seconds |
| 59 | |
| 60 | ==== curl ==== |
| 61 | |
| 62 | For port 80 we consistently get around 30 mili seconds via Varnish: |
| 63 | |
| 64 | {{{ |
| 65 | curl -o /dev/null http://dev.transitionnetwork.org/ |
| 66 | % Total % Received % Xferd Average Speed Time Time Time Current |
| 67 | Dload Upload Total Spent Left Speed |
| 68 | 100 30856 100 30856 0 0 2327k 0 --:--:-- --:--:-- --:--:-- 28.4M |
| 69 | }}} |
| 70 | |
| 71 | On 3 different machines this ism't working, I don't understand why: |
| 72 | |
| 73 | {{{ |
| 74 | curl -o /dev/null https://dev.transitionnetwork.org/ |
| 75 | % Total % Received % Xferd Average Speed Time Time Time Current |
| 76 | Dload Upload Total Spent Left Speed |
| 77 | 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 |
| 78 | }}} |