■
XP,2000のIIS用FastCGI Extension 1.5のRC版が2009-06-23に公開されていた。
設定についてはこちら。
自作 CakePHP アプリのアクセスを ab で計測してみた。
環境は Windows XP Pro SP3 + IIS 5.1。DBはWEBとは別筐体。
C:\Program Files\Apache Software Foundation\Apache2.2\bin>ab -k -c 4 -n 20 http://localhost/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient).....done Server Software: Microsoft-IIS/5.1 Server Hostname: localhost Server Port: 80 Document Path: / Document Length: 7495 bytes Concurrency Level: 4 Time taken for tests: 7.766 seconds Complete requests: 20 Failed requests: 1 (Connect: 0, Receive: 0, Length: 1, Exceptions: 0) Write errors: 0 Keep-Alive requests: 20 Total transferred: 157682 bytes HTML transferred: 151562 bytes Requests per second: 2.58 [#/sec] (mean) Time per request: 1553.115 [ms] (mean) Time per request: 388.279 [ms] (mean, across all concurrent requests) Transfer rate: 19.83 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 969 1546 733.6 1297 3031 Waiting: 969 1545 733.7 1297 3031 Total: 969 1546 733.6 1297 3031 Percentage of the requests served within a certain time (ms) 50% 1297 66% 1562 75% 1625 80% 2859 90% 2875 95% 3031 98% 3031 99% 3031 100% 3031 (longest request)
次に、PHP 5.2.10 の ISAPI モジュール
C:\Program Files\Apache Software Foundation\Apache2.2\bin>ab -k -c 4 -n 20 http://localhost/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient).....done Server Software: Microsoft-IIS/5.1 Server Hostname: localhost Server Port: 80 Document Path: / Document Length: 7495 bytes Concurrency Level: 4 Time taken for tests: 5.422 seconds Complete requests: 20 Failed requests: 0 Write errors: 0 Keep-Alive requests: 0 Total transferred: 155100 bytes HTML transferred: 149900 bytes Requests per second: 3.69 [#/sec] (mean) Time per request: 1084.368 [ms] (mean) Time per request: 271.092 [ms] (mean, across all concurrent requests) Transfer rate: 27.94 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 844 1012 152.4 969 1547 Waiting: 828 1005 153.4 969 1547 Total: 844 1012 152.4 969 1547 Percentage of the requests served within a certain time (ms) 50% 969 66% 984 75% 984 80% 984 90% 1312 95% 1547 98% 1547 99% 1547 100% 1547 (longest request)
FastCGIはあまりFastでないのか?