Apache | NGINX | ||
1 | Founder | Apache, an open-source Web server created by American software developer Robert McCool. Apache was released in 1995. | NGINX source code is written in the C programming language by Kernighan and Ritchie and maintains a consistent style ,released in 2005 released by Russian developer Igor Sysoev |
2 | Running By | Apache is running by ASF | NGINX running by NGINX |
3 | Designed Approach | Apache based on Process driven approach | NGINX based on Event driven approach |
4 | Concurrent Operation | Apache cannot handle 10k concurrent connections simultaneously | Nginx can handle 10k concurrent connections simultaneously |
5 | Htaccess Support | Apache Supports htaccess | Nginx does not support htaccess |
6 | Static Content Operation | Apache performs Slow operation in displaying static content & consumes more memory. | Nginx 2.5 times faster than Apache according to a benchmark test performed by running up to 1,000 simultaneous connections & display content |
7 | Memory | Apache consumed more memory to perform operation | NGINX faster and consumed less memory to perform operation |
8 | OS Supports | Apache Supports operating systems such as UNIX, Linux or BSD and Microsoft Windows | NGINX Supports operating systems such as UNIX, Linux or BSD but in case of Microsoft Windows , It is not upto mark. |
9 | Dynamic Content Operation | Apache performs faster Performance for dynamic content | NGINX does not perform good Performance for dynamic content, these content must be complied by core software. |
10 | Security | Apache provides excellent security | NGINX provides more excellent security |
11 | Web Server | Apache supports web server only | NGINX supports web server as well as Reverse Proxy |
12 | Availability / Open Source | Apache fully Open Source Apache software is always available for download free of charge from the ASF | NGINX availability as NGINX [open source] & NGINX PLUS a high-performance web server, a powerful front-end load balancer and a highly-scalable accelerating cache to create the ideal end-to-end platform |
13 | Video Streaming | Not Best for Video Streaming | Best for Video Streaming as Netflix’s online video streaming service has grown to serve over 50 million subscribers in 40 countries |
14 | Open Source / Paid | Apache software is always available for download free of charge from the ASF | NGINX is Open Source , that is availability free while NGINX PLUS Starting at $2500 per year |