For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2004 > Re: [PHP-INSTALL] FastCGI v.s DSO w/ Apache 2 (Linux)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] FastCGI v.s DSO w/ Apache 2 (Linux)
Michael J. Pelletier

2004-08-20, 8:55 pm

I have been using DSO with apache v2. It has been quite good. I would
recommend
that you do the following to max the speed.

1) Custom compile the kernel and system. This has the flollowing benefits:
a) Removing things like sound support and extra drivers will reduce the
kernels fingerprint in memory.
b) Since you are compiling the kernel for whatever CPU you have (AMD in my
case) it will also help with speed. Especially for encyrption (OpenSSL, etc)

My primary system is a AMD 3200+ with 2 Gigs of ram running FreeBSD
4.8. Custom
Kernel build to support the specific hardware and cards. I have never had any
speed problems. I am currently investigating the Tyan ADM Opteron board.

The system runs:
OpenLDAP (All Auth comes from here)
MySQL
2 apache Web Servers (Http and Https)
Snort
Sendmail w/spamassassin and MIMEDefang
Cryus IMAPD
Currently my sites firewall


I hope that helps,
Michael



> On Fri, 2004-08-20 at 05:03, Somebody in the WWW wrote:
>
> I cannot answer your question directly as I've not used FastCGI, but I
> would think it would depend on the time within PHP. If simple quick
> things only were done then you might see a difference, but if long
> database calls from PHP were common in your application, then the
> CGI/DSO difference would probably be minimal.
>
> 1.3x/DSO is a known stable production environment. I don't know about
> 2.x/FastCGI but I use 2.x/DSO for development (httpd in prefork rather
> than worker) without problem.
>
> HTH
> Chris



----- End message from phpinst@manordata.uklinux.net -----




/ ****************************************
***/
UNIX is a very friendly OS. It is just picky
about who it makes friends with.
/ ****************************************
***/

Disclaimer:
This electronic message, including any attachments, is confidential and
intended solely for use of the intended recipient(s). This message may
contain information that is privileged or otherwise protected from
disclosure by applicable law. Any unauthorized disclosure,
dissemination, use or reproduction is strictly prohibited. If you have
received this message in error, please delete it and notify the sender
immediately.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com