Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/CloudIngenium.com/htdocs/wp-includes/functions.php on line 6114
Which Web Server to use: Apache vs NGINX – Knowledge eXchange

Which Web Server to use: Apache vs NGINX

Which Web Server to use: Apache vs NGINX

If you are looking around there are a lot of people using NGINX over Apache nowadays. NGINX for what I have read provides a lot of performance improvements that a site with a lot of visitors could take advantage of. I found a great article about the pros and cons of each web server (http://www.wikivs.com/wiki/Apache_vs_nginx) and I thought I could do a quick re-cap of the most important points:

Performance: NGINX

nginx is faster at serving static files and consumes much less memory for concurrent requests because Nginx is event-based it doesn’t need to spawn new processes or threads for each request, so its memory usage is very low

WordPress.com has found nginx to be the only load balancer able to handle 8000 live traffic requests per second.

Features: Apache

According to the Wikipedia article “Comparison of web servers”, Apache has the following extra features compared to nginx:

  • digest access authentication
  • CGI
  • administrative console
  • .htaccess

So the decision at the end boils down to what is more important. If you love .htaccess then probably Apache is the way to go. If you are running a very popular web site then NGINX might be the way to go. You could always find workarounds, after all NGINX is very popular even among WordPress installations. There are converters to assist you in migrating over form an .htaccess environment like: http://winginx.com/htaccess

 

Enhanced by Zemanta

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.