[ciapug] Zend / MS partnership
Daniel A. Ramaley
daniel.ramaley at DRAKE.EDU
Thu Nov 2 09:32:07 CST 2006
On Thursday 02 November 2006 07:57, Carl Olsen wrote:
>Overall, I find PHP easier to use than ASP.NET or Java. I also
> realize that I'm not compiling any of my PHP code, so I'm trading
> ease of use for efficiency.
If you're too worried about the inefficiency of PHP, it is possible to
use a PHP accelerator. Such a piece of software caches the compiled PHP
code after the first time it is run. So subsequent calls to the same
code will not require it to be recompiled. Depending on the code in
question, this can improve performance up to 10 times. The application
i've used a PHP accelerator on (a webmail server that gets hammered by
traffic all day long) sped it up by a factor of 3.5.
I would guess that running PHP with an accelerator would probably be
comparable in speed to Java running in a modern JVM. If you want much
faster you'd probably have to use a low-level language like C, but down
that road lies madness.
------------------------------------------------------------------------
Dan Ramaley Dial Center 118, Drake University
Network Programmer/Analyst 2407 Carpenter Ave
+1 515 271-4540 Des Moines IA 50311 USA
More information about the ciapug
mailing list