Re: Ability to lower PHP memory usage

From: Date: Thu, 08 Jan 2004 22:36:35 +0000
Subject: Re: Ability to lower PHP memory usage
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-6909@lists.php.net to get a copy of this message
On Thu, 8 Jan 2004, Christian Schneider wrote: > Rasmus Lerdorf wrote: > > Yup, thousands of little servers with less than 100 httpd children on each > > is how the biggest web load in the world is handled. > > I completely agree and think this is the way to do it. The only point to > consider might be KeepAlive which binds processes without using any > CPU/IO resources really. Maybe they could just switch off KeepAlive and > have only 100 processes running :-) Generally you should always switch off keepalive on a high-load server. > Or long static files which take forever to download without using CPU > but that could easily be off-loaded to a light-weight http daemon. And generally you should never use Apache to server up static files. Akamai does a nice job of getting static files onto a fast server closer to the end user. I realize Akamai is not available to most, but use the same idea. Dedicated tuned servers for static content. -Rasmus

« previous php.internals (#6909) next »