Jump to content

nginx

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Generic shell (talk | contribs) at 15:58, 20 October 2009. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
nginx
Developer(s)Igor Sysoev
Stable release
0.7.62 / September 14, 2009 (2009-09-14)
Preview release
0.8.20 / October 14, 2009 (2009-10-14)
Repository
Operating systemUnix-like, Windows
TypeWeb server, E-mail proxy
LicenseBSD-like
Websitewww.nginx.net

nginx (pronounced as "engine X") is a lightweight, high performance web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license. It runs on UNIX, GNU/Linux, BSD variants, Mac OS X, Solaris, and Microsoft Windows[1].

Users

Originally, nginx was developed to fill the needs of various websites run by Rambler, for which it was serving 500 million requests per day as of September 2008.[2] According to the August 2009 Netcraft survey, nginx is now used on 11,502,109 domains, making it the fifth most popular web server.[3]

Basic HTTP features

  • Handling of static files, index files and auto-indexing
  • Reverse proxy with caching
  • Load balancing
  • fault tolerance
  • SSL support
  • FastCGI support, with caching.
  • Name- and IP-based virtual servers
  • FLV streaming
  • MP4 streaming, using the MP4 streaming module
  • Web page access authentication
  • gzip compression

Mail proxy features

Performance

As reverse proxy

I currently have nginx doing reverse proxy of over tens of millions of HTTP requests per day (thats a few hundred per second) on a *single server*. At peak load it uses about 15MB RAM and 10% CPU on my particular configuration (FreeBSD 6).

Under the same kind of load, apache falls over (after using 1000 or so processes and god knows how much RAM), pound falls over (too many threads, and using 400MB+ of RAM for all the thread stacks), and lighty *leaks* more than 20MB per hour (and uses more CPU, but not significantly more).

Load balancer

Wordpress.com has found nginx to be the only load balancer able to handle 8000 live traffic requests per second.[4]

See also

Articles

References

  1. ^ Nginx homepage
  2. ^ Nginx: the High-Performance Web Server and Reverse Proxy, 2008-09-01, retrieved 2009-08-16
  3. ^ "August 2009 - Netcraft Web Server Survey". Retrieved 2009-09-04.
  4. ^ Wordpress.com blog - Load Balancer Update