Nginx (pronounced the same as engine x) is a lightweight Web server/reverse proxy server and e-mail (IMAP/POP3) proxy server, which is distributed under a BSD like protocol and can be used in UNIX GNU/Linux、BSD、Mac OS X、Solaris, And Microsoft Windows.
Nginx was developed by Igor Sysoev, a Russian programmer, and initially used by Rambler (Russian: Рамблер), a large Russian portal website and search engine. Its characteristics are that it occupies less memory and has strong concurrency (used to solve C10K problems). In fact, nginx's concurrency is really good in the same type of web server.
characteristic
Nginx is an HTTP server designed for performance. Compared with Apache and lighttpd, Nginx has the advantages of less memory and high stability. Different from the old version (<=2.2) of Apache, nginx does not use the design model of one thread per client, but makes full use of asynchronous logic, reducing the context scheduling overhead, so the concurrent service capability is stronger. The overall modular design is adopted, with rich module libraries and third-party module libraries, and the configuration is flexible. Under the Linux operating system, nginx uses the epoll event model. Thanks to this, nginx is quite efficient under the Linux operating system. At the same time, Nginx uses an efficient event model kqueue similar to epoll on OpenBSD or FreeBSD operating systems.
Massive parallel processing
Nginx can support 50000 parallel links in the official test results, while in actual operation, it can support 20000 to 40000 parallel links.
Statistics
In March 2017, 9.65% of the total registered domain names in China used Nginx. ( China Network Statistics )
At present, the users of nginx websites in mainland China include Sina, Netease, Tencent, and the well-known micro blog Plurk also uses nginx.
This site uses Nginx as the web server.
Nginx Chinese Reference Document