Jump to content

Nginx

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Fezzy1347 (talk | contribs) at 13:01, 27 July 2020 (Nginx vs Apache: "on February 2016"→ "in February 2016"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Nginx
Original author(s)Igor Sysoev
Developer(s)Nginx, Inc.
Initial release4 October 2004; 20 years ago (2004-10-04)[1]
Repository
Written inC[2]
Operating systemBSD variants, HP-UX, IBM AIX, Linux, macOS, Solaris, Windows,[3] and other *nix flavors[4]
TypeWeb server, reverse/mail proxy server
License2-clause BSD[5]
Websitenginx.org Edit this at Wikidata

Nginx (pronounced "engine X",[6] /ˌɛnɪnˈɛks/ EN-jin-EKS), stylized as NGINX or nginx or NginX, is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and publicly released in 2004.[7] Nginx is free and open-source software, released under the terms of the 2-clause BSD license. A large fraction of web servers use NGINX,[8] often as a load balancer.[9]

A company of the same name was founded in 2011 to provide support and Nginx Plus paid software.[10] In March 2019, the company was acquired by F5 Networks for $670 million.[11]

As of February 2020, Netcraft estimated Nginx served 36.48 percent of all active websites ranked, ranking it first, above Apache at 24.51 percent,[12] while according to W3Techs, Apache is ranked first at 40.1 percent and Nginx second at 31.8 percent.[13]

Popularity

According to Netcraft's November 2016 Web Server Survey,[14] Nginx was the second-most widely used web server across all "active" sites (18 percent of surveyed sites) and for the top million busiest sites (28 percent of surveyed sites). According to W3Techs, it was used by 38 percent of the top 1 million websites, 50 percent of the top 100,000 websites, and by 57 percent of the top 10,000 websites.[15] According to BuiltWith, it is used on 38 percent of the top 10,000 websites, and its growth within the top 10k, 100k and 1 million segments increased.[16] A 2018 survey of Docker usage found that Nginx was the most commonly deployed technology in Docker containers.[17] In OpenBSD version 5.2 (November 2012), Nginx became part of the OpenBSD base system, providing an alternative to the system's fork of Apache 1.3, which it was intended to replace,[18] but later in version 5.6 (November 2014) it was removed in favor of Apache with OpenBSD's own httpd(8).[19]

Features

Nginx can be deployed to serve dynamic HTTP content on the network using FastCGI, SCGI handlers for scripts, WSGI application servers or Phusion Passenger modules, and it can serve as a software load balancer.[20]

Nginx uses an asynchronous event-driven approach, rather than threads, to handle requests.[21] Nginx's modular event-driven architecture can provide more predictable performance under high loads.[22][23]

Nginx default configuration file is nginx.conf.[24]

HTTP proxy and Web server features

Mail proxy features

Other features include upgrading executable and configuration without client connections loss,[37] and a module-based architecture with both core[38] and third-party module support.[39]

The paid Plus product includes additional features such as advanced load balancing and access to an expanded suite of metrics for performance monitoring.[40][41]

Nginx vs Nginx Plus

There are two versions of Nginx: OSS Nginx and Nginx Plus. Nginx Plus offers additional features not included in OSS Nginx, such as active health checks, session persistence based on cookies, DNS-service-discovery integration, Cache Purging API, AppDynamic, Datalog, Dynatrace New Relic plug-ins, Active-Active HA with config sync, Key-Value Store, on-the-fly with zero downtime updates upstream configurations, and key‑value stores using Nginx Plus API[42] and web application firewall (WAF) dynamic module.[43]

Nginx vs Apache

Nginx was written with an explicit goal of outperforming the Apache web server.[44] Out of the box, serving static files, Nginx uses much less memory than Apache, and can handle roughly four times as many requests per second.[45] However, this performance boost comes at a cost of decreased flexibility, such as the ability to override systemwide access settings on a per-file basis (Apache accomplishes this with an .htaccess file, while Nginx has no such feature built in).[46][47]

Nginx also has a reputation of being harder to install and configure than Apache.[48] Formerly, adding third-party modules to Nginx required recompiling the application from source with the modules statically linked. This was partially overcome in version 1.9.11 in February 2016, with the addition of dynamic module loading.[49] However, the modules still must be compiled at the same time as Nginx, and not all modules are compatible with this system; some require the older static linking process.[50]

Nginx is generally considered to be less stable on Windows Server than it is on Linux, while Apache has equal support for both.[48]

Nginx Unit

Nginx Unit is an open-source web application server, released in 2017 by NGINX, Inc. to target multi-language microservices-based applications. The initial release supported applications written in Go, PHP, and Python.[51] By version 1.11.0, the support was extended to Java, Node.js, Perl, and Ruby applications; other features include dynamic configuration, request routing, and load balancing.[52][53]

History

Nginx, Inc.
Company typePrivate
IndustryTechnology
Founded2011
Headquarters
San Francisco, California, U.S.[10]
Key people
Gus Robertson (CEO), Igor Sysoev (CTO)
ProductsNginx web server, nginx amplify saas, nginx controller, nginx unix and nginx web application firewall
Websitenginx.com

Igor Sysoev began development of Nginx in 2002.[7] Originally, Nginx was developed to solve the C10k problem, and to fill the needs of multiple websites including the Rambler search engine and portal, for which it was serving 500 million requests per day by September 2008.[54]

Nginx Inc. was founded in July 2011 by Sysoev and Maxim Konovalov[10][55] to provide commercial products and support for the software.[56]

The company's principal place of business is San Francisco, California, while legally incorporated in British Virgin Islands.[10]

In October 2011, Nginx, Inc. raised $3 million from BV Capital, Runa Capital, and MSD Capital, Michael Dell's venture fund.[57]

The company announced commercial support options for companies using Nginx in production. Nginx offered commercial support in February 2012,[58][59] and paid Nginx Plus subscription in August 2013.[60]Support packages focus on installation, configuration, performance improvement, etc.[61] Support includes proactive notifications about major changes, security patches, updates and patches. Nginx, Inc. also offers consulting services to assist customers in custom configuration or adding additional features.[62]

In October 2013, Nginx, Inc. raised a $10 million series B investment round led by New Enterprise Associates.[63] That round included previous investors, as well as Aaron Levie, CEO and founder of Box.com.[64][65] In December 2014, Nginx raised a $20 million series B1 round led by New Enterprise Associates, with participation from e.ventures (formerly BV Capital), Runa Capital, Index Ventures and Nginx's own CEO Gus Robertson.[66][67]

In September 2017, Nginx announced an API management tool, NGINX Controller, which would build off of their API Gateway, NGINX Plus.[68][69] In October 2017, Nginx, Inc. announced general available Nginx Amplify SaaS providing monitoring and analytics capabilities for Nginx.[70]

In June 2018, Nginx, Inc. raised $43 million in Series C Funding in a round led by Goldman Sachs "to Accelerate Application Modernization and Digital Transformation for Enterprises".[71]

On 11 March 2019, F5 Networks acquired Nginx, Inc. for US$670 million.[72]

On 12 December 2019, it was reported that the Moscow offices of Nginx Inc. had been raided by police, and that Sysoev and Konovalov had been detained. The raid was conducted under a search warrant connected to a copyright claim over Nginx by Rambler—which asserts that it owns all rights to the code because it was written while he was an employee of the company.[73] On 16 December 2019, Russian state lender Sberbank, which owns 46.5 percent of Rambler, called an extraordinary meeting of Rambler's board of directors asking Rambler's management team to request Russian law enforcement agencies cease pursuit of the criminal case, and begin talks with Nginx and with F5.[74]

See also

References

  1. ^ "CHANGES". Retrieved 16 May 2017.
  2. ^ "The NGINX Open Source Project on Ohloh". ohloh.net. Retrieved 7 March 2013.
  3. ^ "nginx for Windows". Retrieved 28 May 2014.
  4. ^ "Tested OS and platforms". Retrieved 15 October 2011.
  5. ^ "Licensing". Retrieved 18 January 2013.
  6. ^ "Igor Sysoev". sysoev.ru. Retrieved 1 June 2018.
  7. ^ a b Tony Mobily (5 January 2012). "Interview with Igor Sysoev, author of Apache's competitor NGINX". Free Software Magazine. Archived from the original on 19 October 2013. Retrieved 18 October 2013.
  8. ^ "January 2017 Web Server Survey - Netcraft". news.netcraft.com. Retrieved 1 June 2018.
  9. ^ "Use NGINX as a Front-end Proxy and Software Load Balancer". Retrieved 1 June 2018.
  10. ^ a b c d "Notice of Exempt Offering of Securities". Form D. US Securities and Exchange Commission 17 October 2013. Retrieved 15 September 2016.
  11. ^ "F5 acquires NGINX for $670M to move into open-source, multi-cloud services". TechCrunch. Retrieved 12 March 2019.
  12. ^ "Netcraft February 2020 Web Server Survey". Netcraft. Netcraft. Retrieved 16 August 2019.{{cite web}}: CS1 maint: url-status (link)
  13. ^ "Usage Statistics and Market Share of Web Servers, March 2020". w3techs.com. Retrieved 4 March 2020.
  14. ^ "November 2016 Web Server Survey". 22 November 2016. Retrieved 19 December 2016.
  15. ^ "Usage of web servers broken down by ranking". 19 December 2016. Retrieved 19 December 2016.
  16. ^ "Builtwith: nginx Usage Statistics". 19 December 2016. Retrieved 19 December 2016.
  17. ^ "8 surprising facts about real Docker adoption". 13 June 2018. Retrieved 21 June 2018.
  18. ^ "OpenBSD Upgrade Guide: 5.1 to 5.2". openbsd.org. 6 November 2012.
  19. ^ "Heads Up: Nginx Removed From Base".
  20. ^ "Use NGINX as a Front-end Proxy and Software Load Balancer". Linode Guides & Tutorials. Retrieved 1 June 2018.
  21. ^ "Welcome to NGINX Wiki! - NGINX". nginx.com.
  22. ^ "The Architecture of Open Source Applications (Volume 2): nginx". aosabook.org. Retrieved 10 June 2015.
  23. ^ "How to Configure NGINX". Linode Guides & Tutorials. 8 March 2018.
  24. ^ "Beginner's Guide". nginx.org. Retrieved 1 June 2018.
  25. ^ "NGINX Docs | NGINX Reverse Proxy". NGINX Documentation.
  26. ^ "NGINX Docs | HTTP Load Balancing". NGINX Documentation.
  27. ^ "Module ngx_http_upstream_module". nginx.org. Retrieved 14 August 2012.
  28. ^ "Introducing gRPC Support with NGINX 1.13.10". NGINX. 17 March 2018.
  29. ^ "WebSocket proxying". nginx.org.
  30. ^ "WebSocket proxying". nginx.org.
  31. ^ "Using NGINX as a WebSocket Proxy". NGINX. 17 May 2014.
  32. ^ "Proxy: support for connection upgrade (101 Switching Protocols)". trac.nginx.org. 19 February 2013. Retrieved 21 February 2013.
  33. ^ Murenin, Constantine A. (18 February 2013). "A dynamic web-site written wholly in nginx.conf? Introducing mdoc.su!". nginx@nginx.org (Mailing list). Retrieved 24 December 2014. {{cite mailing list}}: Unknown parameter |mailinglist= ignored (|mailing-list= suggested) (help)
  34. ^ Murenin, Constantine A. (24 February 2013). "mdoc.su – Short manual page URLs for FreeBSD, OpenBSD, NetBSD and DragonFly BSD". Retrieved 24 December 2014.
  35. ^ a b "NGINX Docs | Configuring NGINX as a Mail Proxy Server". NGINX Documentation.
  36. ^ "Module ngx_mail_auth_http_module". nginx.org. Retrieved 13 September 2012.
  37. ^ "Official documentation: Controlling nginx". nginx.org. Retrieved 3 December 2011.
  38. ^ "nginx documentation". nginx.org. Retrieved 9 June 2015.
  39. ^ "3rdPartyModules – Nginx Community". wiki.nginx.org. Retrieved 9 June 2015.
  40. ^ "How to monitor NGINX". Datadog. 9 July 2015. Retrieved 9 July 2015.
  41. ^ "Application Load Balancing with NGINX Plus". NGINX. Retrieved 9 July 2015.
  42. ^ "Load balancing with NGINX Plus". Retrieved 1 June 2018.
  43. ^ "NGINX Plus is a software load balancer, web server, and content cache system". Retrieved 1 June 2018.
  44. ^ "NGINX vs. Apache: Our View of a Decade-Old Question". NGINX. 9 October 2015. Retrieved 28 December 2016.
  45. ^ "Web server performance comparison". DreamHost. Retrieved 28 December 2016.
  46. ^ Jankov, Tonino (13 June 2018). "Apache vs Nginx Performance: Optimization Techniques — SitePoint". SitePoint. Retrieved 22 October 2018.
  47. ^ "Which web server should you use — Apache or NGINX?". TechRepublic.
  48. ^ a b "Choosing Between Apache and NGINX for Your Web Hosting Needs". Hosting Canada.
  49. ^ "CHANGES-1.10". nginx.org. 31 January 2017.
  50. ^ "Introducing Dynamic Modules in NGINX 1.9.11 - NGINX". NGINX. 9 February 2016. Retrieved 13 January 2017.
  51. ^ "Nginx goes beyond its server roots and launches its application platform". techcrunch.com. 6 September 2017. Retrieved 15 April 2020.
  52. ^ "CHANGES". unit.nginx.org. Retrieved 15 April 2020.
  53. ^ "March 2020 Web Server Survey". news.netcraft.com. 20 March 2020. Retrieved 15 April 2020.
  54. ^ "Nginx: the High-Performance Web Server and Reverse Proxy". Linux Journal. 1 September 2008. Retrieved 16 August 2009.
  55. ^ "Maxim Konovalov". NGINX. Retrieved 13 October 2019.
  56. ^ "Company". nginx.com. 3 January 2012. Retrieved 24 February 2012.
  57. ^ Natasha Starkell (11 October 2011). "Russian Nginx Raises $3 Million From International Investors". Techcrunch. Retrieved 20 November 2014.
  58. ^ Darryl K. Taft (8 February 2012). "NGINX Launches Commercial Support for Open-Source Web Server". e Week. Retrieved 18 October 2013.
  59. ^ Steven J. Vaughan-Nichols (8 February 2012). "Commercial Support now available for the open-source NGINX Web server". ZDNet Open Source blog. Retrieved 18 October 2013.
  60. ^ "Nginx Inc. Launches NGINX Plus". 22 August 2013.
  61. ^ Taft, Darryl K. (8 February 2012). "NGINX Launches Commercial Support for Open-Source Web Server". eweek.com. Retrieved 24 February 2012.
  62. ^ "Commercial Support now available for the open-source NGINX Web server". ZDNet. 8 February 2012. Retrieved 28 February 2012.
  63. ^ Sean Michael Kerner (16 October 2013). "Nginx Raises $10 Million in New Funding for Server Development". e Week. Retrieved 18 October 2013.
  64. ^ Frederic Lardinois (15 October 2013). "Nginx Raises $10M Series B Round Led By NEA". Techcrunch. Retrieved 20 November 2014.
  65. ^ Jolie O'Dell (15 October 2013). "Nginx ties up a sweet $10M funding deal and hundreds of millions of users". Venture Beat. Retrieved 18 October 2013.
  66. ^ Frederic Lardinois (9 December 2014). "Nginx Raises $20M Series B1 Round To Drive International Expansion". Techcrunch. Retrieved 9 December 2014.
  67. ^ Jordan Novet (9 December 2014). "Nginx gets $20M, because an open-source web server is just the beginning". VentureBeat. Retrieved 9 December 2014.
  68. ^ "NGINX releases its new NGINX Application Platform". SD Times. 6 September 2017. Retrieved 7 November 2018.
  69. ^ "Introducing NGINX API Management: Manage NGINX Plus API Gateways with NGINX Controller - NGINX". NGINX. 9 October 2018. Retrieved 7 November 2018.
  70. ^ "NGINX Amplify is Generally Available - NGINX". 1 October 2017. Retrieved 4 June 2018.
  71. ^ "NGINX Raises $43 Million in Series C Funding to Accelerate Application Modernization and Digital Transformation for Enterprises". Retrieved 11 October 2018.
  72. ^ Vaughan-Nichols, Steven J. "F5 acquires NGINX: What to expect from the deal". ZDNet. Retrieved 12 December 2019.
  73. ^ Cimpanu, Catalin. "Russian police raid NGINX Moscow office". ZDNet. Retrieved 12 December 2019.
  74. ^ Tsydenova, Nadezhda. "Russia's Rambler drops effort for criminal case against Nginx web server". Reuters. Retrieved 4 May 2020.