News for hackers. Stuff that matters.
Re:Ask HN: Re-architecting on Slicehost to handle 50+ apache... by gojomo on Thursday April 02, 2009 @04:26PM (#543995)
Find out if disk IO is the real bottleneck -- excellent chance that it is, especially if MySQL is also on the same host.

Set 'noatime'. Ensure there's no swapping.

Don't assume more processes improve throughput; they could be worsening things with contention at key places.

In case there are small memory-leaks anywhere in your stack that pile up, set 'MaxRequestsPerThread' to anything other than the default '0' (unlimited).

If you can't separate out static content at least make sure all outgoing headers get maximum browser-side caching on non-volatile resources. You could also add a front-end reverse-proxy-cache, on a tiny host, to get many of the same offload-cost-of-static-content benefits.

There are no comments on this comment yet.