View Single Post
Old 09-10-2002, 03:52 PM  
HQ
Confirmed User
 
Join Date: Jan 2001
Posts: 3,539
Quote:
Originally posted by notjoe
PHP is way faster than Perl, even if you have FastCGI running and PHP is a module and isnt forked for each request.

Everytime a CGI is loaded your webserver opens a shell and executed perl -f(?) perlfile.cgi
where as php as a module is all embedded.

You will also need to optimize your database table fields so that your searching takes up a lot less time.
The only database queries i do is a "does this searchstring exist in the database?" so if i got a hit from http://www.freegallery.biz/whatever.html, i would check to see if "freegallery.biz" existed in my mysql database. i can't really optimize that anymore. the searchstring field is defined as "UNIQUE index(searchstring)", so it's unique.
HQ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote