Introduction to Nginx

WBOY
Release: 2016-07-29 09:07:18
Original
1188 people have browsed it

1. Introduction to Nginx
Nginx ("engine x") is a high-performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP server. Nginx was developed by Igor Sysoev for the Rambler.ru site, the second most visited site in Russia. The first public version 0.1.0 was released on October 4, 2004. It releases its source code under a BSD-like license and is known for its stability, rich feature set, sample configuration files, and low system resource consumption. On June 1, 2011, nginx 1.0.4 was released.
Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, and is released under a BSD-like protocol. It was developed by Russian programmer Igor Sysoev and is used by Rambler (Russian: Рамблер), a large Russian portal website and search engine. Its characteristics are that it occupies less memory and has strong concurrency capabilities. In fact, nginx’s concurrency capabilities do perform better among web servers of the same type. Users of nginx websites in mainland China include: Baidu, Sina, NetEase, Tencent, etc.
2. What can Nginx do?
1). HTTP server
2). Reverse proxy server
3). Mail proxy server
3. Reasons for choosing Nginx
1). High concurrent connections
It supports the kernel Poll model and can withstand the test of high load. Reports indicate that it can support up to 50,000 concurrent connections.
2). Low memory consumption
Under 3W concurrent connections to the server, opening 10 Nginx processes consumes 150MB of memory (15MB*10), opening 64 php-cgi processes consumes 128MB of memory (20MB*64), and the total consumption is less than 2GB For memory, you can use webbench for stress testing, and it still runs very fast.
3). Low cost
Purchasing load balancing switches such as F5 BIG-IP and NetScaler costs hundreds of thousands of RMB, and open source Nginx replaces these commercial equipment.

The above is an introduction to Nginx, including aspects of it. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!