Impossible tri-bar

Digital Phenomena - Your first stop for internet consultancy 
Tuning Apache Web Servers for Speed

Page 2 — Hardware and Operating System Issues

The single biggest hardware issue affecting Web server performance is RAM. A Web server should never, ever, have to swap. Swapping increases the latency of each request beyond a point that users consider "fast enough." This causes users to hit Stop and Reload, further increasing the load. You can, and should, control the MaxClients setting so that your server does not spawn so many children that it starts swapping.

Beyond that, the rest is mundane: Get a fast enough CPU, a fast enough network card, and fast enough disks, where "fast enough" is determined by experimentation.

Operating system choice is largely a matter of local concerns. But a general guideline is always to apply the latest vendor TCP/IP patches. HTTP serving completely breaks many of the assumptions built into Unix kernels up through 1994 and even 1995. Good choices include recent FreeBSD and Linux.

next page»

|Home|About Us|Services|Search|
W3C validatedW3C validated CSSCompatible with all browsers