Poll: Apache or Nginx
You do not have permission to vote in this poll.
Apache for Compatibility
0%
0 0%
Nginx for Performance
100.00%
1 100.00%
Total 1 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Apache or Nginx?

#1
Here's a poll for the server admins out there. 
  • Apache is good for compatibility. It is the most widely used web server in the world. It is installed on the vast majority of web hosts, and is the only web server software that is natively compatible with .htaccess files that are widely used by most PHP applications. 
  • Nginx is FAR faster than Apache. The perforamance improvements are significant. Most corporate or large websites do extra work to convert their .htaccess files to nginx configurations to take advantage of Nginx's performance. 

Personally, I use nginx. Apache is good for compatibility, but is an absolute RAM hog in comparison. I've hosted an entire chat room host with about ~600 chat rooms (about 40 of which were active) on a tiny 512 MB VPS thanks to nginx. Makestation is also hosted on Nginx. 

It's a very noticeable improvement when RAM is an issue. .htaccess files (used mostly for SEO friendly URLs) don't work out of the box, however. These have to be manually converted to nginx configurations to enable good SEO.

Which do you prefer? Nginx for speed, or Apache for compatibility?
Saturn-Moon.com - Our next project...
Reply
#2
You have shared great points but I'd like to share some points about Apache and Nginx

Apache

-Apache runs on all Unix-like systems such as Linux, BSD, etc. As well as totally supports Windows.
-Apache uses a multi-threaded approach to process client requests.
-Apache cannot handle multiple requests concurrently with heavy web traffic.

NGINX

-Nginx runs on modern Unix-like systems; however, it has limited support for Windows.
-Nginx follows an event-driven approach to serve client requests.
-Nginx can handle multiple client requests concurrently and efficiently with limited hardware resources.
Reply
#3
Lighttpd
[Image: userbar2.png]
2018 Makestation Member of the Year
July 2020 Makestation Member of the Month
December 2020 Makestation Member of the Month
2019 Makestation Member of the Year Nominee
Reply
#4
I'm using nginx as a reverse proxy on my raspberry pi
[Image: userbar2.png]
2018 Makestation Member of the Year
July 2020 Makestation Member of the Month
December 2020 Makestation Member of the Month
2019 Makestation Member of the Year Nominee
Reply
#5
One thing I wish for is for nginx to have better compatibility with various forum software, it seems like setting up configurations can be a pain sometimes, especially when running multiple instances.
"I reject your reality and subsitute my own." - Adam Savage, Mythbusters
[Image: 5.jpg]
Reply
#6
NGinX because of its reverse proxy capabilities over a network. Nothing to do with performance.
Reply




Users browsing this thread: 1 Guest(s)

Makestation Theme/Design Selector

Contact Us | Makestation | Return to Top | Lite (Archive) Mode | RSS Syndication 
Proudly powered by MyBB 1.8, © 2002-2021
Forum design by Makestation Team © 2020
Saturn-Moon.com - a modern day time capsule | Makestation Ajax Chat Hosting