Home  >  Article  >  What is nginx? What is the use?

What is nginx? What is the use?

青灯夜游
青灯夜游Original
2019-04-29 16:15:5354750browse

Nginx (engine x) is a high-performance HTTP and reverse proxy web server, and also provides IMAP/POP3/SMTP services.

What is nginx? What is the use?

Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, released under the BSD-like protocol. 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. Most websites in mainland my country use nginx.

What is the use of nginx?

1. As a Web server: Compared with Apache, Nginx uses fewer resources, supports more concurrent connections, and reflects higher efficiency. This makes Nginx especially popular with virtual host providers. welcome. Able to support responses of up to 50,000 concurrent connections. Thanks to Nginx for choosing epoll and kqueue as the development model

2. As a load balancing server: Nginx can directly support Rails and PHP internally, as well as Serves the outside world as an HTTP proxy server. Nginx is written in C, and its system resource overhead and CPU usage efficiency are much better than Perlbal.

3. As a mail proxy server: Nginx is also a very excellent mail proxy server (one of the earliest purposes of developing this product is also as a mail proxy server). Last.fm describes the successful and wonderful use experience .

The above is the detailed content of What is nginx? What is the use?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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 admin@php.cn
Previous article:What is MavenNext article:What is Maven