Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:cache:no-plugin-mediawiki [2017/10/10 16:51] Usman Nasir |
litespeed_wiki:cache:no-plugin-mediawiki [2017/10/10 17:38] (current) Johathan Kagan |
||
---|---|---|---|
Line 74: | Line 74: | ||
Last-Modified: Thu, 10 Feb 2011 05:14:38 GMT | Last-Modified: Thu, 10 Feb 2011 05:14:38 GMT | ||
</code> | </code> | ||
- | |||
- | ===== Benchmarks ===== | ||
- | |||
- | Follow the guide (http://www.mediawiki.org/wiki/Manual:Varnish_caching), we have Varnish set up on port 2080 in front of LSWS which serves MediaWiki. | ||
- | |||
- | AB test results are as follows: | ||
- | |||
- | LSWS (cache disabled) + MediaWiki | ||
- | |||
- | <code> | ||
- | Server Software: LiteSpeed/4.0.20 | ||
- | Server Hostname: 192.168.0.56 | ||
- | Server Port: 8088 | ||
- | |||
- | Document Path: /mediawiki/index.php/Main_Page | ||
- | Document Length: 11184 bytes | ||
- | |||
- | Concurrency Level: 10 | ||
- | Time taken for tests: 0.910418 seconds | ||
- | Complete requests: 100 | ||
- | Failed requests: 0 | ||
- | Write errors: 0 | ||
- | Total transferred: 1152000 bytes | ||
- | HTML transferred: 1118400 bytes | ||
- | Requests per second: 109.84 [#/sec] (mean) | ||
- | Time per request: 91.042 [ms] (mean) | ||
- | Time per request: 9.104 [ms] (mean, across all concurrent requests) | ||
- | Transfer rate: 1235.70 [Kbytes/sec] received | ||
- | |||
- | Connection Times (ms) | ||
- | min mean[+/-sd] median max | ||
- | Connect: 0 0 0.5 0 3 | ||
- | Processing: 9 85 41.5 76 188 | ||
- | Waiting: 6 68 33.8 60 148 | ||
- | Total: 9 85 41.4 76 188 | ||
- | |||
- | Percentage of the requests served within a certain time (ms) | ||
- | 50% 76 | ||
- | 66% 98 | ||
- | 75% 119 | ||
- | 80% 131 | ||
- | 90% 151 | ||
- | 95% 161 | ||
- | 98% 180 | ||
- | 99% 188 | ||
- | 100% 188 (longest request) | ||
- | </code> | ||
- | |||
- | Varnish + LSWS (cache disabled) + MediaWiki | ||
- | |||
- | <code> | ||
- | Benchmarking 192.168.0.56 (be patient).....done | ||
- | |||
- | |||
- | Server Software: LiteSpeed/4.0.20 | ||
- | Server Hostname: 192.168.0.56 | ||
- | Server Port: 2080 | ||
- | |||
- | Document Path: /mediawiki/index.php/Main_Page | ||
- | Document Length: 11184 bytes | ||
- | |||
- | Concurrency Level: 10 | ||
- | Time taken for tests: 0.164568 seconds | ||
- | Complete requests: 100 | ||
- | Failed requests: 0 | ||
- | Write errors: 0 | ||
- | Total transferred: 1168144 bytes | ||
- | HTML transferred: 1122290 bytes | ||
- | Requests per second: 607.65 [#/sec] (mean) | ||
- | Time per request: 16.457 [ms] (mean) | ||
- | Time per request: 1.646 [ms] (mean, across all concurrent requests) | ||
- | Transfer rate: 6927.23 [Kbytes/sec] received | ||
- | |||
- | Connection Times (ms) | ||
- | min mean[+/-sd] median max | ||
- | Connect: 0 4 1.5 4 9 | ||
- | Processing: 7 10 2.4 10 19 | ||
- | Waiting: 1 4 1.4 4 9 | ||
- | Total: 8 14 3.1 15 25 | ||
- | |||
- | Percentage of the requests served within a certain time (ms) | ||
- | 50% 15 | ||
- | 66% 16 | ||
- | 75% 16 | ||
- | 80% 16 | ||
- | 90% 18 | ||
- | 95% 21 | ||
- | 98% 25 | ||
- | 99% 25 | ||
- | 100% 25 (longest request) | ||
- | </code> | ||
- | |||
- | LSWS Cache + Mediawiki | ||
- | |||
- | <code> | ||
- | Server Software: LiteSpeed/4.0.20 | ||
- | Server Hostname: 192.168.0.56 | ||
- | Server Port: 8088 | ||
- | |||
- | Document Path: /mediawiki/index.php/Main_Page | ||
- | Document Length: 11184 bytes | ||
- | |||
- | Concurrency Level: 10 | ||
- | Time taken for tests: 0.67117 seconds | ||
- | Complete requests: 100 | ||
- | Failed requests: 0 | ||
- | Write errors: 0 | ||
- | Total transferred: 1168267 bytes | ||
- | HTML transferred: 1129584 bytes | ||
- | Requests per second: 1489.94 [#/sec] (mean) | ||
- | Time per request: 6.712 [ms] (mean) | ||
- | Time per request: 0.671 [ms] (mean, across all concurrent requests) | ||
- | Transfer rate: 16985.27 [Kbytes/sec] received | ||
- | |||
- | Connection Times (ms) | ||
- | min mean[+/-sd] median max | ||
- | Connect: 0 1 1.6 1 7 | ||
- | Processing: 0 4 2.2 4 10 | ||
- | Waiting: 0 1 1.2 1 4 | ||
- | Total: 0 5 2.7 5 15 | ||
- | |||
- | Percentage of the requests served within a certain time (ms) | ||
- | 50% 5 | ||
- | 66% 6 | ||
- | 75% 7 | ||
- | 80% 7 | ||
- | 90% 9 | ||
- | 95% 11 | ||
- | 98% 12 | ||
- | 99% 15 | ||
- | 100% 15 (longest request) | ||
- | </code> | ||
- | |||
- | As shown, LSWS Cache + MediaWiki is ~150% faster than Varnish + MediaWiki. |