NGINX: an interesting alternative to Apache

This ancient Web server It is winning popularity inside of the Business field. Nginx is now the new number two of Web servers, largely because it's a fast, lightweight, and open source alternative to the all-powerful Apache. Here's why it attracts so much attention.


Choosing a web server used to be easy. If you had a Windows store, you used Internet Information Server (IIS); otherwise, Apache. No problem. Now, however, there are more options for web servers. One of the main alternatives is Nginx, an open source program that became the number two web server in the world, according to Netcraft, the Web server analytics company.

NGINX (pronounced "engine X") is an open source HTTP web server that also includes e-mail services with access to Internet Message Protocol (IMAP) and Post Office Protocol (POP) server. Also, NGINX is ready to be used as a reverse proxy. In this mode, NGINX is used to balance the load between the back-end servers, or to provide caching for a slow back-end server.

Companies like online TV company Hulu use NGINX for its stability and simple setup. Other users, such as Facebook and WordPress.com, use it because the asynchronous architecture of the web server leaves a small memory footprint and low resource consumption, making it ideal for handling multiple and changing active web pages.

That is a difficult task. According to the director of NGINX, the architect Igor Sysoev, this is how NGINX can support hundreds of millions of Facebook users.

Sysoev begins by saying “while web servers differ by having a lot of features and being something of a general purpose web software, NGINX stands out for its set of main features associated with performance, scalability and cost efficiency. . Over time, the organic growth of NGINX led the project to the current situation, providing 10% of the entire Internet (which is a lot).

"It's mostly because of the number of features it has and how they are applied," continues Sysoev. “Internally, it is also due to its architecture, which is different from the traditional model of keeping a copy of itself ready to serve each new request. Instead, NGINX processes tens of thousands of simultaneous connections in a compact, multi-CPU process of which you only have the corresponding number of NGINX processes to scale really well.

Do you want to know more? The program is available for use and is open source. According to Sysoev, the company's business model is based on two licenses. "We are going to keep the version with free software [Free Software and Open Source] more functional and updated," he says. “And we would like to find the commercial extensions to be recognized based on this release and worth purchasing for companies that need advanced features not normally available in any other similar open-source product. We offer traditional commercial versions and consulting for the open source version of NGINX, too, and have already been engaged by a couple of clients since we became a company. »

If you want your web services to be fast without breaking the bank and spending a budget on hardware, NGINX clearly deserves your attention.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   David Gómez said

    emsLinux has been using NGINX for a year now and I don't change it for anything. The server I have is the most modest and with nGINX it flies as if it were the most powerful, I love it.

  2.   Gon said

    It sounded to me that I had seen it somewhere when it was undergoing maintenance or something like that lol, but I did not know that it was used by gross sites.
    I looked at the Addons / Modules page and it has a few interesting ones;), it looks very good.

  3.   Annex said

    I am using something much better called Nodejs

    1.    Mateo said

      It has nothing to do, they are two different things for two different languages ​​and the best thing is that they can be merged. If you have a linux server, it is good to use nginx to redirect the domains to the sites you want and virtualize your sites that you have in Node.js. Therefore, I recommend that you join VPS (virtual private server) projects, it is a place to create your servers by hand without anyone telling you what you can or cannot do, you are free to do what you want. I am using Digital Ocean: https://www.digitalocean.com/?refcode=0dcdca453dcc For two reasons, one is that it is highly recommended and the other is because it has many tutorials to give you security and to be able to make everything work well. I hope it serves you, greetings! By the way, thanks for the post, I'm going to start with nginx !!

  4.   Let's use Linux said

    You have to know how to use it too, right? Dah!

  5.   Luis said

    The muylinux.com site uses nginx. As in 2 years they have dropped it 2 times that I remember and they commented that it was due to a NGINX error.

  6.   Let's use Linux said

    Congratulations!

  7.   Marta said

    Hola!
    One question, I am looking for advanced training in NGINX, is there official training? Better to opt for self-training? What would you recommend us?

    thanks!

  8.   Josue said

    Haber seems interesting, let's give it a try.

  9.   oagroot said

    very clear and direct the article. Thank you.

    Now the page has a message in its header advising of the age of the article, and that it may be "out of date". I'd like to suggest that you advise writers of that sentence to check for the word "outdated." We have in our language (and in many others something similar) the word "obsolete", or "old-fashioned", "wrong" ... to express that the time that has elapsed may have changed the veracity of what is expressed in the text.

    Thank you.