certify
07-16-2001, 12:37 PM
AdCycle is implemented as a Perl CGI program with over several thousand lines of code. This imposes a great overhead since the many thousand lines of code needs to be recompiled on each and every request. By making the script persistent in a FastCGI environment, the overhead is avoided and this makes your AdCycle installation run many times faster and have the ability to handle tens or hundreds of thousands of impressions/clicks per day.
I read about FastCGI when I am looking for banner script. What is it?Can it be installed into my RaQ?
allan
07-16-2001, 01:44 PM
Originally posted by certify
I read about FastCGI when I am looking for banner script. What is it?Can it be installed into my RaQ?
FastCGI is a module that runs with many web servers that speeds up cgi scripts, similar to mod_perl (although, I find that mod_perl makes better use of system resources).
I don't see any reason why FastCGI could not be implemented on a RaQ, but if you look through the mailing list the question has been asked, and never answered.
certify
07-16-2001, 02:22 PM
Is mod_perl installed in RaQ3 by default?
Anybody knows how to installed FastCGI into RaQ?
allan
07-16-2001, 02:33 PM
Originally posted by certify
Is mod_perl installed in RaQ3 by default?
Anybody knows how to installed FastCGI into RaQ?
mod_perl is installed by default on all RaQs.
If you want real speed in a cgi-bin type program, look for C or C++ programs. Try the archives at:
http://www.hotscripts.com
http://cgi.resourceindex.com/Programs_and_Scripts/C_and_C++/
Since C is a compiled language, you usually get much better performance than with PERL, PHP, or even mod_perl. I recently reviewed a web mail app written in C that was modeled after NeoMail, a PERL based script. The C version was at least 100X faster and used less resources.
mlovick
07-16-2001, 03:19 PM
When I tried installing FASTCGI on a RAQ I found that I had to re-compile apache therefore I did not bother as you have to be crazie to re-compile apache on a RAQ (Its a static module).
But keep checking the Fast CGI web site as they may have a version which utilises the APXS script (Dynamic Module).
mlovick
07-16-2001, 03:23 PM
Yup - I just checked and FAST CGI has DSO support now so you can install it on a RAQ using the APXS script.
Thats good is that ;)
allan
07-16-2001, 03:27 PM
For those that don't know the FastCGI website is:
http://www.fastcgi.com/
diyoha
07-16-2001, 07:00 PM
hello,
what does DSO mean?
thanks
David
allan
07-16-2001, 07:18 PM
Originally posted by diyoha
what does DSO mean?
Short Answer: Dynamic Shared Object
Longer:
It is a way to load a piece of code into a running program, and share that memory space. More details:
http://httpd.apache.org/docs/dso.html