|
Posted by howachen on 12/17/34 11:52
Michael Vilain 寫道:
> In article <1152365690.253421.109840@b28g2000cwb.googlegroups.com>,
> howachen@gmail.com wrote:
>
> > hi,
> >
> > which package you perfer?
> >
> > mod_php on apache is okay but some people said fastcgi version of php
> > is faster, is it true?
> >
> > thanks...
>
> Depends. (That's the standard answer for ambiguous questions which don't
> have sufficient technical details to provide an informed opinion).
>
> Specifically, it depends on the environment (hardware and software)
> you're running on. OS and version? Hardware platform--CPU, memory,
> disk? Shared web server or dedicated? What sort of web application are
> you running? How much traffic is it expected to handle currently? In 6
> months? 1 year? 3 years?
>
> It's my understanding that fastcgi forks a process for each connection,
> running in the context of web server. mod_php runs as a thread, allowing for
> it to run concurrently with other processes on multi-CPU systems.
>
> --
> DeeDee, don't press that button! DeeDee! NO! Dee...
consider the followings...
OS - CentOS 4.3
CPU - Intel Pentium D Dual Core 2.8Ghz
Memory - 2GB DDR2
Dedicated Web server
Expect to handle around 500 connections, each requests use at most 3MB
of memory
Navigation:
[Reply to this message]
|