From the course: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Why NGINX?

Why NGINX?

- There are many reasons why you might want to use Nginx. Nginx is a multifunction tool. With Nginx you can use the same tool as your load balancer, reverse proxy, content cache, and web server, minimizing the amount of tooling and configuration your organization needs to maintain. Nginx is optimized for speed, we'll talk about that in a moment. Lastly, Nginx has 20% of the active web server market. This puts it in second place behind Apache, which has close to 50%. Nginx is fast because it does not support .htaccess files. All access controls handled in the main configuration file which is processed once when the server starts. Apache can do this as well. Nginx was designed from the ground up to use an asynchronous, non-blocking, event-driven connection handling algorithm. Nginx spawns worker processes, each of which can handle thousands of connections. The worker processes accomplish this by implementing a fast-looping mechanism that continuously checks for and processes events…

Contents