The PHP Scalability Myth
Subject:   The PHP Scalability IS NOT A Myth
Date:   2003-10-19 05:57:56
From:   anonymous2
The PHP scalability IS NOT A myth because PHP can scale close to Java. However, the caveat is that Zend the company that makes PHP makes you buy a PHP accelerator for it to scale well. Most PHP is installed without the pricey PHP accelerator so of course everyone thinks PHP cannot cut it in the big leagues.
Full Threads Newest First

Showing messages 1 through 3 of 3.

  • The PHP Scalability IS NOT A Myth
    2003-10-20 05:54:59  anonymous2 [View]

    I used to run on a single server installation (dual 800mhz proc, 1gb ram) running both Apache + Mod_PHP and MySQL. I was doing close to 1 million page views per day, with the capacity to handle 1.5-2 million. I could have added an additional server to increase my capacity to 3 million pages. I could have moved to 3 machines, 2 front ends and a mysql DB on the back end to get up to 4-5 million page views.

    Every page view was running sessions, and over 50% of the page views were to logged-in users. Every page was generated from the DB. Sessions were stored in the DB.

    I didn't use the PHP accelerator -- I wrote well-crafted SQL statements, optimized my DB, used persistent connections to the DB, optimized code and continued review of all code.

    You don't need the PHP accelerator to make PHP scalable.

    BTW, this was between 2000 and 2001 using PHP3 and the early versions of PHP4. I'm sure that using PHP5 the site would be able to handle more page views with the same hardware.
  • The PHP Scalability IS NOT A Myth
    2003-10-22 05:16:31  anonymous2 [View]

    There are several free (as in beer and source) PHP accelerators out there as well.
  • The PHP Scalability IS NOT A Myth
    2003-10-22 09:02:57  anonymous2 [View]

    Free accelerator exists such as APC, Turck Soft mmcache and they are quite easy to compile and get going