Re: Pascal Server Page
- From: Brian Moelk <bmoelk@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 08 Feb 2007 07:24:00 -0500
Roger Lascelles wrote:
When you say "Fast enough", you mean that you are are willing to use more
server capacity than you need to. Fast enough has no impact if
- your server is under-utilised anyway.
- PHP script execution forms a small proportion of the total server
requests.
Yes.
However, "fast enough" can have a cost. Take a hosting service running a
thousands of sites on a Linux box. If many of those sites run PHP shopping
carts, forums, content management systems etc, the server will have less
capacity. This means buying and managing more servers - its a real cost.
Agreed.
[...]
I do hear people say "I'd rather save human cycles than computer cycles",
and yes, its a tradeoff.
Everything is a tradeoff. :)
The beauty of PHP is that its like the old BASICs of twenty years ago. You
can't crash it. Its cross platform. The script IS the "executable" - No
compilation needed. When I upload a PHP script, I don't worry about binary
compatibility, linking to libraries, or getting into trouble with the
hosting company. If my script goes off the rails, PHP talks to me, or I can
put in some debugging strings. I can run it on my desktop for testing. Its
such a low effort enterprise. I don't like the PHP language, but its got
everything laid on, and I hack away happily when I need to.
I agree.
The Roadsend PHP compiler is interesting - you can debug your script as
interpreted, then compile it to native code. Except the benchmarks only
show 2x speed increase, so I think the PHP system is itself slow - all those
untyped variables.
I'm not sure why PHP is "slow", but if someone needs more throughput
there are ways to make things faster through caching and things like
that. But caching is a tradeoff too :)
--
Brian Moelk
Brain Endeavor LLC
bmoelk@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
.
- References:
- Pascal Server Page
- From: bee
- Re: Pascal Server Page
- From: GrandmasterB
- Re: Pascal Server Page
- From: bee
- Re: Pascal Server Page
- From: bee
- Re: Pascal Server Page
- From: Brian Moelk
- Re: Pascal Server Page
- From: Daniël Mantione
- Re: Pascal Server Page
- From: Brian Moelk
- Re: Pascal Server Page
- From: Roger Lascelles
- Pascal Server Page
- Prev by Date: Re: A cross-platform vision for Delphi - updated meta-info
- Next by Date: Re: A cross-platform vision for Delphi - updated meta-info
- Previous by thread: Re: Pascal Server Page
- Next by thread: Re: Pascal Server Page
- Index(es):
Relevant Pages
|
|