PHP Scalability Tests
PHPis a widely-used scripting language uniquely suited to creating dynamic, Web-based
content.It is the most rapidly expanding scripting language in use on the Internet due to its
simplicity,accessibility, wide number of available modules, and large number of easily available
applications.
Thescalability of Web Server combined with the versatility of the PHP engine provides a
high-performingand versatile web deployment platform for dynamic content. These tests used
PHPversion 5.1.6.
Thetests were performed in two modes:
Anout-of-process fastcgi-php application invoked using the FastCGI plug-in available for
SunJava System Web Server 7.0 (the download will be available from
http://www.zend.com/sun/).
In-processPHP NSAPI plug-in.
Thetest executed the phpinfo() query. The goal was to saturate the cores on the server and nd
outthe respective throughput and response time.

PHPScalability with Fast CGI

Thefollowing table shows the Web Server tuning settings used for the FastCGI plug-in test
Number of cores
NSAPI Scalability
17000
18000
19000
16000
15000
14000
13000
12000
11000
10000
9000
8000
7000
6000
5000
246
Throughput(ops/sec)
Throughput
PerformanceTestsand Results
Chapter6 • Scalabilit y Studies 115