Welcome to WebmasterWorld Guest from 174.129.127.214

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Using fastperl instead of perl

To make website performance faster

   
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?
9:15 pm on Nov 23, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



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.
1:17 am on Nov 24, 2011 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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]
7:33 am on Nov 30, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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...]