Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2005 19:01:45 -0800
From:      ray@redshift.com
To:        Erich Dollansky <oceanare@pacific.net.sg>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: performance modifications
Message-ID:  <3.0.1.32.20050313190145.00a8db40@pop.redshift.com>
In-Reply-To: <4233B901.1090009@pacific.net.sg>
References:  <3.0.1.32.20050310193015.00a7e908@pop.redshift.com> <3.0.1.32.20050310180051.00a7e908@pop.redshift.com> <3.0.1.32.20050310180051.00a7e908@pop.redshift.com> <3.0.1.32.20050310193015.00a7e908@pop.redshift.com>

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

  I wrote a small test program in C that just printed a single <html>test</html>
line and it was very slow when called as a cgi via apache.  Much slower than
PHP.  Is there something that needs to be done in order for Apache to run C
without having to shell out to the OS (?) or something.

Ray


At 11:52 AM 3/13/2005 +0800, Erich Dollansky wrote:
| Hi,
| 
| ray@redshift.com wrote:
| 
| > Okay, great, thanks.  I'll check into that area.  My biggest problem right now
| > is that PHP brings down the speed of everything.  I may have to go back to Perl
| > and use mod_perl or look into some other alternatives.  The main thing I wanted
| 
| Isolate the parts with high number of hits and rewrite them in C as we 
| did in the past.
| 
| The client was surprised what is possible.
| 
| The effort is lower than you might expect if you have C knowledge.
| 
| Erich
| 
| 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.20050313190145.00a8db40>