homepage Welcome to WebmasterWorld Guest from 54.166.228.100
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

    
Using fastperl instead of perl
To make website performance faster
dalyea




msg:4390023
 9:42 pm on Nov 22, 2011 (gmt 0)

It was mentioned to me to try to use fastperl in place of /usr/local/bin/perl - regular perl - for my scripts. Has anyone used fastperl? Are there limitations I should be aware of? Pros and cons? Any real-world examples?

 

janharders




msg:4390470
 9:15 pm on Nov 23, 2011 (gmt 0)

I've never heard of it untill now. Google gives this thread as the first related result (after a consulting firm with the same name).
So no, I don't have any experience, and it isn't installed on my machines. If you are able to install additional software on your webserver, looking into modperl or fastcgi might be the better way.

phranque




msg:4390555
 1:17 am on Nov 24, 2011 (gmt 0)

welcome to WebmasterWorld, dalyea!

are you referring to the CGI::Fast perl module?
http://search.cpan.org/~lds/CGI.pm-3.44/CGI/Fast.pm [search.cpan.org]

i have no experience with that but i have used mod_perl:
http://perl.apache.org/ [perl.apache.org]

MichaelBluejay




msg:4392351
 7:33 am on Nov 30, 2011 (gmt 0)

Maybe you're talking about FastCGI? I've used it some. What it does is keep the script running, so it doesn't have to do things like open a database every time it's run. On my host I still start my files with /usr/bin/perl, I just use the extension .fcgi instead of .cgi. Here's a good page on the subject:

[wiki.dreamhost.com...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved