[ciapug] Zend / MS partnership

Carl Olsen carl-olsen at mchsi.com
Thu Nov 2 10:02:49 CST 2006


How much does the accelerator cost?

I would say that efficiency can be traded for simplicity as long as the
demands are not great enough to be significantly noticeable.  For example 24
frames per second is a frame speed that makes it appear to a human eye that
there is no flicker in digital video.  That does not mean the flicker is not
there, it just means you can't detect it with a human eye.  It doesn't need
to be more efficient because it gets the job done.

I didn't say I was worried about it, but that doesn't mean I will never
worry about it.

Carl Olsen
Web Developer
Drake University

-----Original Message-----
From: ciapug-bounces at cialug.org [mailto:ciapug-bounces at cialug.org] On Behalf
Of Daniel A. Ramaley
Sent: Thursday, November 02, 2006 9:32 AM
To: ciapug at cialug.org
Subject: Re: [ciapug] Zend / MS partnership

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
_______________________________________________
ciapug mailing list
ciapug at cialug.org
http://cialug.org/mailman/listinfo/ciapug



More information about the ciapug mailing list