Apache VS Nginix
Two of the most popular web server are Apache HTTP and NGINX
Today they power close to 50% or more of all website
NGINX is much newer compared to Apache
Apache developed in 1999
what is proxy ?
suppose : D: Any number of users’ home computers
E: This is a reverse proxy server
F: One or more origin servers
Typically all requests from D would go directly to F, and F would send responses directly to D. With a
reverse proxy, all requests from D will go directly to E, and E will send its requests to and receive
responses from F. E will then pass along the appropriate responses to D.
what is Load balancing
Load balancing - A popular website that gets millions of users every day may not be able to handle all of
its incoming site traffic with a single origin server.
Instead, the site can be distributed among a pool of different servers, all handling requests for the same
site. In this case, a reverse proxy can provide a load balancing solution which will distribute the incoming
traffic evenly among the different servers to prevent any single server from becoming overloaded.
php is powerful scripting programming language which is use by wordpress
php-fpm fast cgi manager
reverse proxy
can use reverse proxy
built to easy heavy spikes in traffic
can handle thousand of http request
Lightweight and customizable
used by some largest organization goggle,IBM, Linkdin
uses a stick style to maximize executional efficiency
offer zero downtime and support multiple backend app
Nginx
1. Nginx is a web server.
It is also used as a reverse proxy server which revices
the request from client and send the request to proxy server.
2. It is mostly used for Unix like systems, and does not completely support Windows.
3.It was developed by Nginx.inc and initially released on 4 october 2004.
4.Nginx is written in C language.
5.It is designed for proxy server as well as web server
6.It can support multiple client requests with limited hardware resources.
7.It provides better security with a smaller codebase.
Apache
1.Apache is an open-source web server.
2.It is mostly used for Unix, Linux, Windows and Solaris platforms.
3.It was developed by Apache group and initially released on 25 March 1999.
4.Apache is written in C and XML.
5. It is designed for web server.
6.In heavy web traffic, it cannot support multiple requests.
7.Less security provided as compared to Nginx and also the codebase is very high.