PHP ScalabilityTests
PHP is 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.
The scalability of Web Server combined with the versatility of the PHP engine provides a
high-performing and versatile web deployment platform for dynamic content. These tests used
PHP version 5.1.6.
The tests were performed in two modes:
■
An out-of-process fastcgi-php application invoked using the FastCGI plug-in available for
Sun Java System Web Server 7.0 (the download will be available from
http://www.zend.com/sun/).
■
In-process PHP NSAPI plug-in.
The test executed the phpinfo() query. The goal was to saturate the cores on the server and nd
out the respective throughput and response time.
PHP Scalability with Fast CGI
The following 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
PerformanceTests andResults
Chapter6 • Scalability Studies 115