4 ms·
Nginx - the swiss army knife to avoid webserver overloading after getting frontpaged on HN (currently seeing error 500 from Apache only).
by thomaslutz 14y ago
Nginx - the swiss army knife to avoid webserver overloading after getting frontpaged on HN (currently seeing error 500 from Apache only).
- jimktrains2 14y agoI really don't see how Apache vs Nginx will give you that much performance increase. The majority of the processing time for a request is in the backend (rendering, compiling, db calls, &c). Improved caching would give much better performance gains than just switching a server without any other improvements.
- thomaslutz 14y agoCompare memory usage; also Apache has problems with many concurrent connections and low hard limits as default, which nginx handles much better. Varnish of course would also be a valid improvement.
- nisa 14y agoApache can fill your 100Mbit line just fine for most cases. It's Wordpress where 98% of your processing time is spend. Switching to nginx does not help at all in most cases. I really like nginx but Apache gets a lot of unfounded hate.
- djrobstep 14y agoI used to think this too, but I recently switched a PHP app I run over to Nginx from Apache, nginx uses much less memory, and consequently the app can run on far less instances, it's been a huge win. This app has many long-running connections and a write-heavy workload, your mileage may vary.