Performance boost for LAMP stack
This weekend I got around to benchmarking conshell.net and my own website using apachebench (ab). For some time I suspected conshell as having sluggish performance and ab showed it was only able to serve three requests per second for the home page. So I added varnish and APC to the mix, the performance increases 3x. I recommend anyone with a sluggish LAMP server look into these two options. Here are my #s from ab.
ab -n20 -c2 http://conshell.net/wiki/index.php/Special:Specialpageshttp://conshell.net/wiki/index.php/Special:Specialpagesnoapc-novarnish Requests per second: 3.28 [#/sec] (mean)noacp-varnish Requests per second: 3.43 [#/sec] (mean)apc-novarnish Requests per second: 8.17 [#/sec] (mean)apc-varnish Requests per second: 9.94 [#/sec] (mean)ab -n20 -c2 http://conshell.net/wiki/index.php/Main_Pagehttp://conshell.net/wiki/index.php/Main_Pagenoapc-novarnish Requests per second: 2.77 [#/sec] (mean)noapc-varnish Requests per second: 3.02 [#/sec] (mean)apc-novarnish Requests per second: 8.26 [#/sec] (mean)apc-varnish Requests per second: 9.65 [#/sec] (mean)