What is a difference between Apache and Nginx ?

What is a difference between Apache and Nginx ?


Question - What is a Difference between Apache and Nginx ?
Question - Nginx VS Apache
What is a Difference between Apache and Nginx ?, difference between nginx and apache, apache, nginx, reverse proxy, #linux, #CentOS, Nginx vs Apache


Nginx and Apache both are web server and serve statics and dynamic content using
the browser. 

There are some difference between apache and nginx :



Apache
Nginx
1
Apache is Webserver
Nginx is Webserver and proxy server
2
Apache used one thread per request
whereas nginx is event driven, and one threat 
can handle all request
3
Apache use context-switching so its consume
more memory
Does not required context switching,
4
Apache slow
Nginx Fast
5
Apache provides a variety of multiprocessing 
modules to handle client requests and web traffic
Nginx handle multiple client requests 
simultaneously with 
minimal hardware resources
6
It handles dynamic content within the web server
itself.
It cannot process dynamic content natively.
7
Modules are dynamically loaded or unloaded
The modules cannot be loaded dynamically. 
They must be compiled within the core 
software itself.

Thanks

Your Support is valuable for us so I request you to please comment, share and  like this post.

www.linuxtopic.com
Previous
Next Post »