Versus

43%
nginx
The World Wide Web is a huge world, like the world itself say, and the ways it work and the systems it uses are many and complex. The communication, the file exchange between different terminals is made throught protocols (for example HTTP), using various forms of input and output. The client installed on the computer will communicate with the information stored on a different computer, the server. And a web server is basically a computer hosting sites in various formats, to HTTP to dynamic formats like PHP. In those last cases, the web server is particular necessary, since it's its job to elaborate webpages and generating what inside them, in a dynamic way. There are various web servers that a webmaster could choose, and one of the most common is Nginx. This open source application is younger than other web servers and proxies, since it came out just in 2004, with a initial launch where it wasn't the most popular choice.... After some years, however, a lots of improvement were made, and it quickly became one of the most used one, able to process requests way faster, and with a lot of security and safety involved. The major difference between other products (including Apache) is that it doesn't follow every single process request individually, but it can manage every single event in a process, resulting in a increased speed. It is also asynchronous: this big weird word means that it can handle all the requests that come throught without problems, all of them at the same time, without freezing or blocking, just fast and faster. And this is the main focus of Nginx: speed! Being able to manage multiple requests at the same time is something that can really improve the life and time of people who visit your website. Nginx is the main choice for many users for a reason.

Pros
  • Very fast
  • Can easily handled multiple connections
  • Doesn't use too much memory
  • It's developed by a single person, allowing more focus on specific problems and issues

Cons
  • Very little documentation avalaible
  • The community is not really active
  • Few extension available
  • Some web applications mightnot support it

Supporters

Gaince

Nginx for stability

Looking at the pro-apache comments here, it appears that a lot of people don’t know much about Nginx. This is likely because apache is easy to use but just because a piece of software is east to use does not mean it is good. The reason I switched to Nginx is because Apache falls apart extremely quickly if someone launches a DDOS against your website, which compared to apache that was able to keep working all the way until the server crashes is awful.
Posted by Gaince on 12-11-2017
overcast

Ngnix for WordPress

You can see that wordpress based sites are performing good on the NGnix. And wordpress gets some really good speed with the same. I have found out that ngnix. I think on that note ngnix seems to have taken some lead. And lot of interesting development is going on with the ngnix.
Posted by overcast on 12-09-2017
Barida

Flexibility.

I would have to go with nginx for series of reasons which can include the fast way it connects and all that and to notice that one can connect multiple terminals to the server is a great experience in the web world.
Posted by Barida on 12-24-2017

57%
apache
There is a very important community that have under them a lot of interesting open source projects, one of them being Apache httpd server, simply known as Apache. While the name might resemble you the famous indian tribe, it's actually a pun on the "a patchy server" expression, used around 1994 when the web server first launched. Today is still the most used web server in the whole world, many people appreciate and love it for all the characteristic, for what it offers, for the various updates it went throught during the years (the version that came out in 2002, the 2.0, was a complete rewrite of the software, bringing a lot of very important changes). WIth Apache the various requests are managed by the httpd server, and you can choose between various options according to the OS used - using Apache on Windows or on Linux based system (very common in those, Apache is included in the software bundle Lamp alongside Linux itself, the PHP language and Mysql) is a very different experience, with different options and different ways and codes you have or can use. Speaking about options, there is a insane number of them avalaible, with multiple extensions that can provide you for anything you want, be it proxying, cachin or virtual hosting. And in case you are kinda new in the world of web servers or web hosting in general, Apache is well known since the documentation that comes with the software is really well written and can provide you answers to any doubt you might have. However, you need to have some physical resources to use Apache since it uses a lot, A LOT, of memory. It's a multithreaded software, and while you might try to optimize the use of memory, sometime it's not enough. It's also very vulnerable, since many DoS attacks are targeting specifically Apache and its well known weaknesses. So yes, it's very common and used by the majority of the people, but it's nowhere near perfect. You will have to deal with some issues and problems, but for the quality you get it might be worth it.

Pros
  • Used by a lot of people
  • Easily supported by many web applications
  • A lot of well written documentation
  • Multiple extensions avalaible

Cons
  • It uses a lot of memory
  • Many DoS attacks target Apache
  • Hard installation and configuration

Supporters

Anonymous

Helicopter.

I myself have also not heard of nginx, however from what I read, it's not really suitable for mass usage for now at least, because there's not much of a community that you can talk about things about, which shouldn't stop people of course. Apache, has some negative sides of it's own, but they are not too much of a concern, even though the attacks can be annoying.
Posted by Anonymous on 12-12-2017
kingcool52

This

It would have to be apache for me. I don't really know much about it and I'm the same with nginx which is why I think it would be better for me to learn about apache because of how large the community is. The fact that there are so many people available to help out and share information about it makes it just easier to learn about.
Posted by kingcool52 on 12-08-2017
kgord

Apache

I don't know anything about Nginx it is something I have never heard of, so based on that reason alone I am going to have to go with Apache. It is something that everyone seems to know about. I think it is a quality option for users.
Posted by kgord on 12-08-2017
wiseagent

Apache wins.

The two options are very good, but from personal experience I prefer Apache because it better meets my needs. It has a very good performance and I always recommend it to anyone who has any doubts about it.
Posted by wiseagent on 12-08-2017

Comments

vinaya
When it comes to internet technology, I am dumb. I do not know anything about nginx or apache. In fact I had not even heard of nginx, but I was aware about apache. I had heard this term spoken by many internet guys. Since nginx is newer than apache, I think it must be better than apache.
Posted by vinaya on 12-08-2017
lovely
I have read about Apache and I think it good, it cant be used by many people if it is not good.I think it great for having multiple extension and also supported by multiple web application.It function is worth using and for this, it a better choice.
Posted by lovely on 12-09-2017
vhinz
I developed my on website but I still don't know what's the best server. All I know is that my website is up and running and I hosted it with hosting company that other web developers recommended and trusted. I'm not really knowledgeable about web servers. But when I'm developing website on my local computer, I used to use apache server that comes with xamp.
Posted by vhinz on 12-09-2017
overcast
When it comes to hosting your website both Apache and Ngnix are good. Most of the hosting companies these days are moving towards NGinix. And that's another reason I guess you can see that Ngnix seems to be taking lead. Though lot of them are on Apache too. But the Ngnix adoption has increased so far over the years. So you should definitely check that out too.
Posted by overcast on 12-09-2017
hermessantos
In fact, Apache is the most widely used server in the world. But I've been using NGINX for a little over a year and I confess I'm satisfied with performance. Apache has a greater advantage when it comes to configuring it, as it is much easier to find guides and tutorials on Apache on the Internet. But I still prefer NGINX, because even though it's more complicated to configure it, I still have a good performance gain on my sites.
Posted by hermessantos on 12-11-2017
kaka135
I have no idea because this is the first time I heard about NGINX and I have always been hearing about Apache, and hence I thought Apache is better. I would like to find out more about NGINX. I am glad to learn so much from this site and also the comments above.
Posted by kaka135 on 12-18-2017