Hacker News new | ask | show | jobs
by sirn 5846 days ago
> The catch is, if you trim Apache down to do only what you need, the margin between it and Nginx becomes much smaller. If you really know Apache well, then you don't necessarily need to switch to Nginx, just because it's hot and new.

Care to elaborate? I used to do that few years ago for static serving, from tuning Min/MaxSpareServers, measuring resource usage and speed of worker/prefork MPMs to strip out all modules to bare minimum and I still can't get the margin between Nginx and Apache to be any close.

1 comments

How are you measuring resource consumption? Memory consumption often includes a lot of shared virtual memory, where multiple Apache threads/processes simultaneously use the same physical memory.
Resident size. Normally ps -o rss,ucomm