Nginx
https://www.hellosanta.com.tw/Drupal網站設計/nginx與apache比較
http://www.hostingadvice.com/how-to/nginx-vs-apache/
Apache
multi-processing modules
It consumes a lot of RAM and might refuse connections at hight loads
NGINX
It was created in response to the C10K challenge of handling at least 10,000 simultaneous client connections on a single server
NGINX uses an asynchronous, event-driven architecture to handle these massive amounts of connections
Features:
Reverse Proxy
- handle the connection request and forward the request to servers
Load Balance
Forward the connections into multiple servers
Forward the requests bases on weight
Bases on ip_hash in order to keep session.
Fast Static Content
- High-traffic website owners that need to serve a lot of static content and/or media streams will probably prefer NGINX