httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] Apache 2.2 optimization -> Three tips
Date Mon, 22 Mar 2010 09:21:03 GMT
On 3/22/2010 3:34 AM, Geoff Millikan wrote:
> Here's three things I wish I had read about Apache optimization that are not
> commonly discussed (we found out by years of trial and error).

Agreed, agreed, and *huh*?

> 3. Increase your StartServers to the number of maximum requests on your
> biggest page.  For example, if your busiest page requires 30 hits/requests
> to load all the images, css, javascript, etc then 

It needs to be generously sized, but not users * maxrequests.  Just starting
your average server load is correct, e.g. if your server averages 300 simulatious
connections, you need to start with 300 servers, and you never want it to drop
below that number.

Yes, a browser can make multiple connections, but this is typically only two
parallel pipelines, perhaps even four.  But 30 workers are not handling the
30 requests comprising one user connecting to your site!!!  You just happened
to hit a magic correlation in your testing :)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message