ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-unix-users
perl-unix-users
Re: [Perl-unix-users] Can Perl run Faster than PHP or JSP
by Edward Moon other posts by this author
Apr 9 2003 11:50PM messages near this date
[Perl-unix-users] Can Perl run Faster than PHP or JSP | [Perl-unix-users] perl and microsoft word
You may want to take at a look at the Yahoo presentation on why they chose 
PHP:
<http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm> 

If you take a look at the benchmarks (which I can't link to directly due 
to frames -- click on 'Performance Tests'), you'll see that Yahoo's 
mod_perl implementation was faster than Yahoo's PHP implementation at high 
levels of concurrency. At low levels of concurrency, mod_perl was as fast 
as PHP and Yahoo's old proprietary C solution.

I don't agree with the mod_perl cons listed in the presentation. Most of 
the issues (with the exception of TMTOWTDI) can apply to PHP as well.

The presentation is comparing mod_perl based Perl scripts, not Perl CGI 
scripts. Please note that the Perl CGI scripts will be slow. This is not 
because Perl 'sucks'. This is because of the performance penalties associated with 
the CGI interface.

If you want to learn more about mod_perl, please visit the mod_perl 
website: <http://perl.apache.org/> .


On Thu, 10 Apr 2003, karthikeyan.balasubramanian wrote:

>  Date: Thu, 10 Apr 2003 10:54:45 +0530
>  From: karthikeyan.balasubramanian
>      <karthikeyan.balasubramanian@[...].com>
>  To: perl-unix-users@[...].com
>  Subject: [Perl-unix-users] Can Perl run Faster than PHP or JSP
>  
>  Hi,
>  
>      This is something i have in mind for a long time.  That forced me to go
>  with technologies like JSP or PHP.
>  Just wondering if Perl can run faster than PHP, ASP and JSP.  There are so
>  many things i want to know about perl,
>  like how much memory it might take, is there a possiblity of memory leakage,
>  if perl file becomes lengthier can this
>  make CPU Cycles higher, Do perl follow some MVC Frameworks like Struts,
>  Cocoon, Mavereak.
>  
>       There is were so many people around me saying that Perl sucks and stuff
>  like that, they say PHP and JSP is the
>  best scripting language they found out, are they saying this because those
>  are much easier to code.  I dont mind
>  even if its difficult to code as long as my program can run faster and
>  follows some framework for maintainability.
>  
>    This would enable me to move into right direction.
>  
>     Have a great day.
>  
>  Karthikeyan B
>  
>  
>  _______________________________________________
>  Perl-Unix-Users mailing list
>  Perl-Unix-Users@[...].com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>  
Thread:
Karthikeyan.Balasubramanian
Edward Moon

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved