FastCGI Enabled
Further the previous post I did end up porting my blog driver to my fastcgi implementation.
Benchmarking using `ab' from home it doesn't really make any difference reading the front page of the blog - if anything it's actually marginally slower.
Running the benchmark locally though things are quite different.
Previous standard cgi:
Concurrency Level: 1 Time taken for tests: 13.651 seconds Complete requests: 1000 Failed requests: 0 Total transferred: 37100000 bytes HTML transferred: 36946000 bytes Requests per second: 73.25 [#/sec] (mean) Time per request: 13.651 [ms] (mean) Time per request: 13.651 [ms] (mean, across all concurrent requests) Transfer rate: 2654.05 [Kbytes/sec] received
Using fcgi:
Concurrency Level: 1 Time taken for tests: 0.706 seconds Complete requests: 1000 Failed requests: 0 Total transferred: 37062000 bytes HTML transferred: 36908000 bytes Requests per second: 1416.39 [#/sec] (mean) Time per request: 0.706 [ms] (mean) Time per request: 0.706 [ms] (mean, across all concurrent requests) Transfer rate: 51264.00 [Kbytes/sec] received
So yeah, only 20x faster. If I up the concurrency level of the benchmark it gets better but it's hard to tell much from it since everything is running on the same machine.
Regardless, I made it live.