4 ms·
The main reason I switched to Nginx is that it uses dramatically less memory than Apache. Running a semi-popular message board, I was eating through 4Gb of mem
by bmelton 16y ago
The main reason I switched to Nginx is that it uses dramatically less memory than Apache. Running a semi-popular message board, I was eating through 4Gb of memory between Apache and MySQL on Ubuntu, and simply switching over to Nginx was faster and freed up over 1Gb of allocated memory immediately.
Since then, I've grown to dramatically prefer its configuration file syntax and usability.
- AdamN 16y agoThe configuration file for Nginx is much simpler.
- JoachimSchipper 16y agoBut note that Apache's memory use (and overal slowness) depends a lot on what modules you use. mod_{php,perl,...} embeds a whole interpreter in each Apache process, which causes lots of overhead, but you don't have to use these.