Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2000 14:38:05 -0700 (PDT)
From:      FengYue <fengyue@bluerose.windmoon.nu>
To:        Mike <mike@fdhosting.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: OT: Program Speed
Message-ID:  <Pine.BSF.4.21.0010281437150.68089-100000@shell.unixbox.com>
In-Reply-To: <4.3.2.7.2.20001028164421.03021200@mail.futuredesigns.net>

next in thread | previous in thread | raw e-mail | index | archive | help

It'd be alot faster if you change your CGI to be an apache module or
use fast-CGI (http://www.fastcgi.com).   Process creation is expensive.

On Sat, 28 Oct 2000, Mike wrote:

->Sorry for the off topic question, but I'm not quite sure where else to find 
->unbiased opinions on this. We currently have a cgi program, written in C, 
->that is ran about 500,000+ times a day. Each time it is run, it reads from 
->reads and writes to 2-5 flat text files.
->
->I am in the process of rewriting this program so to add more features and 
->what not. I am wondering if it would be faster / more efficient if it were 
->to use MySQL instead of flat text files (over 500,000 accesses daily) in 
->the C version of the program, or would PHP or a combination of PHP/MySQL be 
->faster?
->
->Any thoughts/ideas, or a reference as to where I could find such 
->information would be greatly appreciated.
->
->Thanks in advance!
->
->Mike
->
->
->
->To Unsubscribe: send mail to majordomo@FreeBSD.org
->with "unsubscribe freebsd-isp" in the body of the message
->

--------------------------------------------
| Windmoon ~{#@7gTB?M#@~}                  |
| http://www.windmoon.nu/	           |
| *** Have you hacked a UNIX laterly? ***  |
--------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010281437150.68089-100000>