Re:Nginx has replaced Apache as the most used web server amo...
by thesnufkin on Monday May 26, 2014 @08:11AM
(#7799417)
Good point, or perhaps more used as the LB? We prefer Varnish as the reverse proxy, but we are using nginx as load balancer, which still shows up as the server in the response header, even though we exclusively run apache on the back-ends to serve the PHP application. I am not sure how typical this setup is though.
[ Parent
| on HN ]
Re:Nginx has replaced Apache as the most used web server amo...
by harshreality on Monday May 26, 2014 @08:35AM
(#7799467)
Unfortunately too typical. You're keeping all the performance issues with a LA<database>P stack (high resource-use variance going from low to high traffic), and merely adding layers in front. Unless you need an apachehttpd-specific feature, you should look into moving to a nginx + php-fpm setup.
Re:Nginx has replaced Apache as the most used web server amo...
by ihsw on Monday May 26, 2014 @08:46AM
(#7799501)
You're being awfully presumptuous -- there's nothing to indicate the parent isn't already using an apache2+php-fpm setup. Not all apache2+php users are using mod_php (which is where performance woes come from).
Re:Nginx has replaced Apache as the most used web server amo...
by thesnufkin on Monday May 26, 2014 @10:50AM
(#7799916)
Yeah, we are using apache2+php-fpm. The application behind is Drupal, which is supported on apache2 only (mostly) unfortunately.
I guess from a higher perspective this is a support resource vs savings from technical performance question, but my feeling is that right now the lack of support knowledge and experience is more painful than the performance.